telegraf/plugins/parsers/opentsdb
Paweł Żak c4dbe65732
chore(linters): Bump golangci-lint to v1.56.1 (#14759)
2024-02-12 23:26:10 +01:00
..
README.md feat(parsers.opentsdb): Add OpenTSDB data format parser (#13167) 2023-05-05 07:14:51 -06:00
parser.go chore(linters): Bump golangci-lint to v1.56.1 (#14759) 2024-02-12 23:26:10 +01:00
parser_test.go test(parsers): Sort metrics to avoid flaky tests (#14284) 2023-11-13 12:38:47 -07: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