Open Q&A
If there's no good subforum for your question - ask it here!
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Metric ingestion timestamp from Custom Extensions

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)

y_buccellato_0-1765878678552.png

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 

0 REPLIES 0

Featured Posts