pretty simple config.
interval = 2s
flush_interval = 2s
source: JTI/gRPC for Juniper MX routers with collection interval 2s
i’ve got such artifacts on the interface load graph.
All data comming from JTI has its own timestamps which Juniper router associates with the collected metric.
the question is: what timestamps does Telegraf use when sends data to Influx? does it propogate timestamps from JTI metrics or does it use the Telegraf server OS timestamp when data arrives to Telegraf via gRPC?
how to make Telegraf uses the timestamps inclided in JTI metric collected by Juniper router?
I think adding an option to use the response timestamp is something we could do, but I’d like to talk to the team first. The cisco_telemetry_mdt plugin appears to pull the timestamp from a field or measurement.
i’ve got the same picture for all interfaces of all my Juniper MX routers with diffrent JunOS version.
here is some more info i’ve collected. timestamps.csv.txt (6.2 KB)
Juniper devices generates metrics not exactly every 2000ms. It can be from 2000 upto 2050ms. Average 2030ms.
that is why there is a missing value for visualization. As visualization has exact discretization value 1/2/4 seconds. And later double value for compensation.