Skip to content

Commit

Permalink
Add missing port tag in PostgreSQL for Datadog compatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
markbastiaans committed Jan 8, 2021
1 parent a3eddbb commit 5add5e6
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions etc/telegraf/telegraf.toml.j2
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,9 @@
{% if datadog_api_key %}
# Field removal for Datadog compatibility
fielddrop = ["blk_read_time", "blk_write_time", "conflicts", "datid", "datname"]
# Add port tag for Datadog compatibility
[inputs.postgresql.tags]
port = "5432"
{% endif %}
{% endif %}

Expand Down

0 comments on commit 5add5e6

Please sign in to comment.