<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Metric ingestion timestamp from Custom Extensions in Extensions</title>
    <link>https://community.dynatrace.com/t5/Extensions/Metric-ingestion-timestamp-from-Custom-Extensions/m-p/291964#M6954</link>
    <description>&lt;P&gt;It is not possible to control the metric timestamp using the SQL datasource. You would need to move to a python extension where you have full control over the metric datapoints&lt;/P&gt;</description>
    <pubDate>Sat, 20 Dec 2025 04:20:20 GMT</pubDate>
    <dc:creator>david_lopes</dc:creator>
    <dc:date>2025-12-20T04:20:20Z</dc:date>
    <item>
      <title>Metric ingestion timestamp from Custom Extensions</title>
      <link>https://community.dynatrace.com/t5/Extensions/Metric-ingestion-timestamp-from-Custom-Extensions/m-p/291557#M6936</link>
      <description>&lt;P&gt;Hello fellow community members.&lt;BR /&gt;We are executing a database query via a Dynatrace extension, which creates a metric based on the query results.&lt;/P&gt;&lt;P&gt;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.&lt;/P&gt;&lt;P&gt;(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)&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="y_buccellato_0-1765878678552.png" style="width: 400px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/31244iCC4D66852F1BBE44/image-size/medium?v=v2&amp;amp;px=400" role="button" title="y_buccellato_0-1765878678552.png" alt="y_buccellato_0-1765878678552.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;The reason for this is that when the query runs at midnight (on the following day), it retrieves data from the previous two hours.&lt;BR /&gt;As a result, the datapoint is currently being recorded for the new day, whereas it should be associated with the previous day.&lt;BR /&gt;&lt;BR /&gt;Any idea based on your experience? &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;Regards&lt;BR /&gt;&lt;BR /&gt;&lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/74276"&gt;@GerardoAud&lt;/a&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 16 Dec 2025 10:03:37 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Extensions/Metric-ingestion-timestamp-from-Custom-Extensions/m-p/291557#M6936</guid>
      <dc:creator>y_buccellato</dc:creator>
      <dc:date>2025-12-16T10:03:37Z</dc:date>
    </item>
    <item>
      <title>Re: Metric ingestion timestamp from Custom Extensions</title>
      <link>https://community.dynatrace.com/t5/Extensions/Metric-ingestion-timestamp-from-Custom-Extensions/m-p/291964#M6954</link>
      <description>&lt;P&gt;It is not possible to control the metric timestamp using the SQL datasource. You would need to move to a python extension where you have full control over the metric datapoints&lt;/P&gt;</description>
      <pubDate>Sat, 20 Dec 2025 04:20:20 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Extensions/Metric-ingestion-timestamp-from-Custom-Extensions/m-p/291964#M6954</guid>
      <dc:creator>david_lopes</dc:creator>
      <dc:date>2025-12-20T04:20:20Z</dc:date>
    </item>
  </channel>
</rss>

