C# Class Metrics.NET.InfluxDB.InfluxDbRecord

Influx db record. See: https://influxdb.com/docs/v0.9/write_protocols/write_syntax.html
ファイルを表示 Open project: mnadel/metrics.net.influxdb

Public Methods

Method Description
StringifyValue ( object val ) : string

Return the value as an InfluxDB-parseable string. See: https://docs.influxdata.com/influxdb/v0.9/write_protocols/line/

Private Methods

Method Description
BuildRecordPreamble ( string name, MetricTags tags, string>.Tuple moreTags = null ) : StringBuilder
Escape ( string v ) : string
GetAllTags ( MetricTags tags ) : string>>.IEnumerable
InfluxDbRecord ( ConfigOptions config ) : System.Text
InfluxDbRecord ( string name, IEnumerable columns, IEnumerable data, MetricTags tags, ConfigOptions config, string>.Tuple moreTags = null ) : System.Text
InfluxDbRecord ( string name, object data, MetricTags tags, ConfigOptions config, string>.Tuple moreTags = null ) : System.Text

Method Details

StringifyValue() public static method

Return the value as an InfluxDB-parseable string. See: https://docs.influxdata.com/influxdb/v0.9/write_protocols/line/
public static StringifyValue ( object val ) : string
val object InfluxDB value
return string