Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Transport_file ¶
type Transport_influxdb ¶
type Transport_influxdb struct { Version string Interval string Max_batch_size int // Client Config Host string // for v0.8.8 URL string // for v0.9.0 Username string Password string Database string // Write Config RetentionPolicy string FlatTemplate string Backfill_enabled bool Backfill_interval string Backfill_handsoff bool Backfill_latency_threshold_ms int Backfill_cool_down string Merge_Requests bool // try best to merge small group of points to no more than max_batch_size }
type Transport_kafka ¶ added in v0.2.1
type Transport_kafka struct { Broker_list []string `json:"broker_list"` // ["localhost:xxx", "remote:xxx"] Topic_id string `json:"topic_id"` // Compression_codec string `json:"compression_codec"` // none, gzip or snappy Ack_timeout_ms int `json:"ack_timeout_ms"` // milliseconds Required_acks string `json:"required_acks"` // no_response, wait_for_local, wait_for_all Flush_frequency_ms int `json:"flush_frequency_ms"` // milliseconds Write_timeout string `json:"write_timeout"` // string, 100ms, 1s, default 1s Dail_timeout string `json:"dail_timeout"` // string, 100ms, 1s, default 5s Keepalive string `json:"keepalive"` // string, 100ms, 1s, 0 to disable it. default 30s }
Click to show internal directories.
Click to hide internal directories.