telegraf/plugins/parsers/opentsdb
zhuxu f7d0087df9 use topic tag refresh metrics 2025-11-21 19:30:20 +08:00
..
README.md feat(parsers.opentsdb): Add OpenTSDB data format parser (#13167) 2023-05-05 07:14:51 -06:00
parser.go use topic tag refresh metrics 2025-11-21 19:30:20 +08:00
parser_test.go use topic tag refresh metrics 2025-11-21 19:30:20 +08:00

README.md

OpenTSDB Telnet Style Put Format Parser Plugin

The OpenTSDB data format parses data in OpenTSDB's Telnet style put API format. There are no additional configuration options for OpenTSDB. The metrics are parsed directly into Telegraf metrics.

For more detail on the format, see:

Configuration

[[inputs.file]]
  files = ["example"]

  ## Data format to consume.
  ## Each data format has its own unique set of configuration options, read
  ## more about them here:
  ##   https://github.com/influxdata/telegraf/blob/master/docs/DATA_FORMATS_INPUT.md
  data_format = "opentsdb"

Example

put sys.cpu.user 1356998400 42.5 host=webserver01 cpu=0