Elasticsearch timestamps do not match exactely the poll interval #262
-
|
Hello, I have some trouble making histogram graphs of the cpu data uploaded by the oar plugin to the elasticsearch plugin (via an alumet relay) using the timestamp values. For example, if we want the load of a given node, we need to group data of a given interval as a sum of the values in this time interval, and then, we need the values of a given interval to have the same timestamp. Given this configuration: The nodes upload metrics every 5s, but the timestamps show that we have more intervals
Furthermore, it seems that we have 2 values for the same job, with 0.2 to 0.5s delay, one with the slice ans one with the scope Is the @timestamp value set by alumet when it collects the data or is it the automatic timestamp given by elasticsearch when recording the data? If it is not the case, I think that alumet should set the @timestamp value to the date of the start of the interval of the record |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
|
I think that the If I look at one particular cgroup, let's say the slice for job The interval seems ok? |
Beta Was this translation helpful? Give feedback.


That's strange, because
cpu_time_deltaandcpu_percentare computed side by side, at the same time (so it's still not synchronized between cgroups) 🤔But I see that it would be better to synchronize that, taking note for a future version :)