C# Class InfluxDB.Collector.MetricsCollector

Inheritance: IPointEmitter, IDisposable
Mostra file Open project: influxdata/influxdb-csharp Class Usage Examples

Public Methods

Method Description
Dispose ( ) : void
IPointEmitter ( PointData points ) : void
Increment ( string measurement, long count = 1, string>.IReadOnlyDictionary tags = null ) : void
Measure ( string measurement, object value, string>.IReadOnlyDictionary tags = null ) : void
Specialize ( ) : CollectorConfiguration
Time ( string measurement, string>.IReadOnlyDictionary tags = null ) : IDisposable
Write ( string measurement, object>.IReadOnlyDictionary fields, string>.IReadOnlyDictionary tags = null, System.DateTime timestamp = null ) : void

Protected Methods

Method Description
Dispose ( bool disposing ) : void
Emit ( PointData points ) : void

Method Details

Dispose() public method

public Dispose ( ) : void
return void

Dispose() protected method

protected Dispose ( bool disposing ) : void
disposing bool
return void

Emit() protected abstract method

protected abstract Emit ( PointData points ) : void
points InfluxDB.Collector.Pipeline.PointData
return void

IPointEmitter() public method

public IPointEmitter ( PointData points ) : void
points InfluxDB.Collector.Pipeline.PointData
return void

Increment() public method

public Increment ( string measurement, long count = 1, string>.IReadOnlyDictionary tags = null ) : void
measurement string
count long
tags string>.IReadOnlyDictionary
return void

Measure() public method

public Measure ( string measurement, object value, string>.IReadOnlyDictionary tags = null ) : void
measurement string
value object
tags string>.IReadOnlyDictionary
return void

Specialize() public method

public Specialize ( ) : CollectorConfiguration
return CollectorConfiguration

Time() public method

public Time ( string measurement, string>.IReadOnlyDictionary tags = null ) : IDisposable
measurement string
tags string>.IReadOnlyDictionary
return IDisposable

Write() public method

public Write ( string measurement, object>.IReadOnlyDictionary fields, string>.IReadOnlyDictionary tags = null, System.DateTime timestamp = null ) : void
measurement string
fields object>.IReadOnlyDictionary
tags string>.IReadOnlyDictionary
timestamp System.DateTime
return void