C# 클래스 GuaranteedRate.Sextant.Metrics.DatadogReporter

상속: IDatadogReporter
파일 보기 프로젝트 열기: Guaranteed-Rate/GuaranteedRate.Sextant

공개 메소드들

메소드 설명
AddCounter ( string metric, long value ) : void
AddGauge ( string metric, long value ) : void

Send a metric to DataDog

AddMeter ( string metric, long value ) : void

Send a meter to DataDog

AddTag ( string tag, string value ) : void
DatadogReporter ( string datadogEndpoint, string apiKey, int queueSize = -1 ) : GuaranteedRate.Sextant.WebClients
SetApiKey ( string apiKey ) : void
SetEndPoint ( string endPoint ) : void
SetQueueSize ( int queueSize ) : void

비공개 메소드들

메소드 설명
AddGuage ( string metric, long value ) : void
AddMetric ( string metric, long value, string type ) : void
GetEpochTime ( ) : long

메소드 상세

AddCounter() 공개 메소드

public AddCounter ( string metric, long value ) : void
metric string
value long
리턴 void

AddGauge() 공개 메소드

Send a metric to DataDog
public AddGauge ( string metric, long value ) : void
metric string name of metric e.g. HogsHeadsPerMile
value long value to send to DataDog e.g. 67
리턴 void

AddMeter() 공개 메소드

Send a meter to DataDog
public AddMeter ( string metric, long value ) : void
metric string name of metric e.g. HogsHeadsPerMile
value long value to send to DataDog e.g. 67
리턴 void

AddTag() 공개 메소드

public AddTag ( string tag, string value ) : void
tag string
value string
리턴 void

DatadogReporter() 공개 메소드

public DatadogReporter ( string datadogEndpoint, string apiKey, int queueSize = -1 ) : GuaranteedRate.Sextant.WebClients
datadogEndpoint string
apiKey string
queueSize int
리턴 GuaranteedRate.Sextant.WebClients

SetApiKey() 공개 정적인 메소드

public static SetApiKey ( string apiKey ) : void
apiKey string
리턴 void

SetEndPoint() 공개 정적인 메소드

public static SetEndPoint ( string endPoint ) : void
endPoint string
리턴 void

SetQueueSize() 공개 정적인 메소드

public static SetQueueSize ( int queueSize ) : void
queueSize int
리턴 void