Skip to content

Commit

Permalink
change the prometheus->telegraf metrics mapping
Browse files Browse the repository at this point in the history
This updates the metric_version of the prometheus input to version 2,
which brings the telegraf mapping more inline with how prometheus
natively outputs metrics, especially histograms and summaries.

See influxdata/telegraf#4415 for more
information.
  • Loading branch information
lanzafame committed Sep 3, 2020
1 parent 39b63e2 commit a603d37
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions scripts/telegraf.conf.default
Original file line number Diff line number Diff line change
Expand Up @@ -174,6 +174,7 @@
# lotus_datapath = ""

[[inputs.prometheus]]
metric_version = 2
urls = [
"{{ lotus_prometheus_url }}", # lotus daemon
]
Expand Down

0 comments on commit a603d37

Please sign in to comment.