Telegraf Config for Envoy Production
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Global tags can be specified here in key="value" format. | |
[global_tags] | |
# Configuration for telegraf agent | |
[agent] | |
interval = "5s" | |
round_interval = true | |
metric_batch_size = 1000 | |
metric_buffer_limit = 10000 | |
collection_jitter = "1s" | |
flush_interval = "30s" | |
flush_jitter = "5s" | |
precision = "" | |
hostname = "" | |
omit_hostname = false | |
############################################################################### | |
# OUTPUT PLUGINS # | |
############################################################################### | |
# Configuration for sending metrics to InfluxDB | |
[[outputs.influxdb]] | |
urls = ["http://influxdb.default.svc.cluster.local:8086"] | |
database = "Envoy" | |
############################################################################### | |
# INPUT PLUGINS # | |
############################################################################### | |
[[inputs.http]] | |
urls = [ | |
"http:/[ENVOY_IP]/production.json" | |
] | |
method = "GET" | |
timeout = "5s" | |
data_format = "json" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment