Created
June 7, 2022 15:13
-
-
Save jonchen727/4a94c890a32c51104d3535a22db18bac to your computer and use it in GitHub Desktop.
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