I currently have prometheus set as an input, and im using influx for long term storage of my metrics.
When i query in influx the result is 2x of that in prometheus…
my telegraph config is as below, but i cant work out if this is due to the intervals or not… anyone had anything similar?
Configuration for telegraf agent
[agent]
interval = "10s"
round_interval = true
metric_batch_size = 1000
metric_buffer_limit = 10000
collection_jitter = "3s"
flush_interval = "10s"
flush_jitter = "5s"
precision = ""
debug = false
quiet = true
logfile = ""
hostname = ""
omit_hostname = true
###############################################################################
OUTPUT PLUGINS
###############################################################################
[[outputs.influxdb]]
urls = ["{{ env “INFLUXDB_ENDPOINT” }}"]
database = "prometheus"
retention_policy = ""
write_consistency = "any"
timeout = “10s”