Replies: 4 comments 2 replies
-
Can you please elaborate the requirement ? The timestamps associated with the metrics data are the start and end timestamp of collection interval. This can't be changed. |
Beta Was this translation helpful? Give feedback.
-
For example, I have a metric data file with their associated timestamps, which is only accessible after a job has been completed. |
Beta Was this translation helpful? Give feedback.
-
I wonder how this works with aggregation. For example someone in your organzation might decide to aggregate (from a batch, or streaming) metrics to reduce cardinality, and wonder how this system would handle data that is say 12 hours old (and it kind of assumes last 5 minutes). I guess it can work, if you cover all these details. I'm having a similar ask, but always wondered about that... |
Beta Was this translation helpful? Give feedback.
-
You could also use OTTL in your collector to set specific times. For example you can emit the start/measured times in two attributes, then reset the start_time/time to them and delete the attributes. Look into the https://github.com/open-telemetry/opentelemetry-collector-contrib/blob/main/processor/transformprocessor/README.md |
Beta Was this translation helpful? Give feedback.
-
Hi,
Is it possible to send metrics with custom timestamps?
I have a source of metrics that is not possible to instrument, so I would like to send the metrics on the timestamp where they were measured.
Thanks in advance
Beta Was this translation helpful? Give feedback.
All reactions