C# Class Microsoft.ApplicationInsights.Extensibility.PerfCounterCollector.Implementation.QuickPulse.QuickPulseServiceClient

Service client for QPS service.
Inheritance: IQuickPulseServiceClient
Mostra file Open project: Microsoft/ApplicationInsights-dotnet-server Class Usage Examples

Public Methods

Method Description
Ping ( string instrumentationKey, DateTimeOffset timestamp ) : bool?
QuickPulseServiceClient ( Uri serviceUri, string instanceName, string streamId, string machineName, string version, Clock timeProvider, bool isWebApp, System.TimeSpan timeout = null ) : System
SubmitSamples ( IEnumerable samples, string instrumentationKey ) : bool?

Private Methods

Method Description
ProcessResponse ( HttpWebResponse response ) : bool?
Round ( double value ) : double
SendRequest ( string httpVerb, string path, Action onWriteBody ) : HttpWebResponse
WritePingData ( DateTimeOffset timestamp, Stream stream ) : void
WriteSamples ( IEnumerable samples, string instrumentationKey, Stream stream ) : void

Method Details

Ping() public method

public Ping ( string instrumentationKey, DateTimeOffset timestamp ) : bool?
instrumentationKey string
timestamp DateTimeOffset
return bool?

QuickPulseServiceClient() public method

public QuickPulseServiceClient ( Uri serviceUri, string instanceName, string streamId, string machineName, string version, Clock timeProvider, bool isWebApp, System.TimeSpan timeout = null ) : System
serviceUri System.Uri
instanceName string
streamId string
machineName string
version string
timeProvider Clock
isWebApp bool
timeout System.TimeSpan
return System

SubmitSamples() public method

public SubmitSamples ( IEnumerable samples, string instrumentationKey ) : bool?
samples IEnumerable
instrumentationKey string
return bool?