16 Dec 2025 09:57 AM - edited 16 Dec 2025 10:03 AM
Hello fellow community members.
We are executing a database query via a Dynatrace extension, which creates a metric based on the query results.
I would like to understand whether it is possible to control the timestamp of the ingested datapoint from the extension’s YAML definition file—specifically, to set the timestamp to now() - 1 minute.
(to be clear with API metric v2 I know this can be achieved I just wonder if this can be achieved also from the extension)
The reason for this is that when the query runs at midnight (on the following day), it retrieves data from the previous two hours.
As a result, the datapoint is currently being recorded for the new day, whereas it should be associated with the previous day.
Any idea based on your experience? 🙂
Regards
@GerardoAud
Featured Posts