telegraf/plugins/parsers/prometheus
Sven Rebhan c5e915e32b
chore(deps): Bump github.com/prometheus/client_golang from 1.18.0 to 1.19.0 (#15100)
2024-04-03 14:50:31 -05:00
..
testcases chore(parsers.prometheus): Migrate tests to test-cases (#14527) 2024-01-05 09:23:38 -07:00
README.md chore: Fix readme linter errors for processor, aggregator, and parser plugins (#10960) 2022-06-06 17:04:28 -06:00
common.go chore(parsers.prometheus): Consolidation v1 and v2 parsers (#14580) 2024-01-16 13:13:56 -07:00
metric_v1.go chore(parsers.prometheus): Consolidation v1 and v2 parsers (#14580) 2024-01-16 13:13:56 -07:00
metric_v2.go chore(parsers.prometheus): Consolidation v1 and v2 parsers (#14580) 2024-01-16 13:13:56 -07:00
parser.go chore(deps): Bump github.com/prometheus/client_golang from 1.18.0 to 1.19.0 (#15100) 2024-04-03 14:50:31 -05:00
parser_test.go chore(parsers.prometheus): Migrate tests to test-cases (#14527) 2024-01-05 09:23:38 -07:00

README.md

Prometheus Text-Based Format Parser Plugin

There are no additional configuration options for Prometheus Text-Based Format. The metrics are parsed directly into Telegraf metrics. It is used internally in prometheus input or can be used in http_listener_v2 to simulate Pushgateway.

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 = "prometheus"