C# 클래스 Graphite.MetricsPipeExtensions

Extensions for Metrics pipe.
파일 보기 프로젝트 열기: peschuster/graphite-client

공개 메소드들

메소드 설명
Count ( this profiler, string key, long value = 1, float sampling = 1 ) : void

Increases a counter for specified key.

Gauge ( this profiler, string key, long value ) : void

Reports a gauge value for specified key.

Raw ( this profiler, string key, long value ) : void

Reports a raw value directly to graphite.

Set ( this profiler, string key, long value ) : void

Reports a set value for specified key.

Step ( this profiler, string key ) : IDisposable

Times a step with specified key.

Step ( this profiler, string key, Action reporter ) : IDisposable

Times a step with specified key.

Timing ( this profiler, string key, long value ) : void

Submits a timing directly.

메소드 상세

Count() 공개 정적인 메소드

Increases a counter for specified key.
public static Count ( this profiler, string key, long value = 1, float sampling = 1 ) : void
profiler this The profiler.
key string The key.
value long The value.
sampling float Sample by provided value.
리턴 void

Gauge() 공개 정적인 메소드

Reports a gauge value for specified key.
public static Gauge ( this profiler, string key, long value ) : void
profiler this The profiler.
key string The key.
value long The value.
리턴 void

Raw() 공개 정적인 메소드

Reports a raw value directly to graphite.
public static Raw ( this profiler, string key, long value ) : void
profiler this The profiler.
key string The metric key.
value long The value.
리턴 void

Set() 공개 정적인 메소드

Reports a set value for specified key.
public static Set ( this profiler, string key, long value ) : void
profiler this The profiler.
key string The key.
value long The value.
리턴 void

Step() 공개 정적인 메소드

Times a step with specified key.
public static Step ( this profiler, string key ) : IDisposable
profiler this The profiler.
key string The key.
리턴 IDisposable

Step() 공개 정적인 메소드

Times a step with specified key.
public static Step ( this profiler, string key, Action reporter ) : IDisposable
profiler this The profiler.
key string The key.
reporter Action Action to report result.
리턴 IDisposable

Timing() 공개 정적인 메소드

Submits a timing directly.
public static Timing ( this profiler, string key, long value ) : void
profiler this The profiler.
key string The key.
value long The timing value.
리턴 void