Skip to content

Commit

Permalink
Add telegraf config structure
Browse files Browse the repository at this point in the history
  • Loading branch information
badrogger committed Apr 18, 2024
1 parent 6120761 commit f791628
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions telegraf.conf.j2
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,7 @@
urls = ["http://localhost:3009/nginx-status"]
response_timeout = "5s"

[[outputs.influxdb_v2]]
alias = "influx"
[[outputs.influxdb]]
alias = "vm"
urls = ["{{ url }}"]
bucket = "{{ bucket }}"
organization = "{{ org }}"
token = "{{ token }}"
http_headers = {"Authorization" = "Bearer {{ token }}"}

0 comments on commit f791628

Please sign in to comment.