<?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 Combining timeseries data for synthetic availability best practices in Synthetic Monitoring</title>
    <link>https://community.dynatrace.com/t5/Synthetic-Monitoring/Combining-timeseries-data-for-synthetic-availability-best/m-p/290163#M3258</link>
    <description>&lt;P&gt;I have written the following DQL and it works for my current use case but I was wondering about efficiency.&lt;/P&gt;&lt;P&gt;timeseries series = avg(dt.synthetic.http.availability),&lt;BR /&gt;by: { dt.entity.synthetic_test, dt.entity.synthetic_location, dt.entity.http_check },&lt;BR /&gt;filter: { contains(entityAttr(dt.entity.http_check, "entity.name"), "variable") }&lt;BR /&gt;| append [&lt;BR /&gt;timeseries series = avg(dt.synthetic.browser.availability),&lt;BR /&gt;by: { dt.entity.synthetic_test, dt.entity.synthetic_location },&lt;BR /&gt;filter: { contains(entityAttr(dt.entity.synthetic_test, "entity.name"), "variable") }&lt;BR /&gt;]&lt;/P&gt;&lt;P&gt;Is this the most efficient way to run this combined data set?&amp;nbsp;&lt;/P&gt;&lt;P&gt;i have 2 questions.&lt;/P&gt;&lt;P&gt;1. In DQL can the variable be set as a variable and not a string that I have to modify in 2 places.&lt;/P&gt;&lt;P&gt;2. In DQL is there a more efficient way to combine the data.&amp;nbsp; (Is append the best way?)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 24 Nov 2025 16:16:13 GMT</pubDate>
    <dc:creator>Moonrox</dc:creator>
    <dc:date>2025-11-24T16:16:13Z</dc:date>
    <item>
      <title>Combining timeseries data for synthetic availability best practices</title>
      <link>https://community.dynatrace.com/t5/Synthetic-Monitoring/Combining-timeseries-data-for-synthetic-availability-best/m-p/290163#M3258</link>
      <description>&lt;P&gt;I have written the following DQL and it works for my current use case but I was wondering about efficiency.&lt;/P&gt;&lt;P&gt;timeseries series = avg(dt.synthetic.http.availability),&lt;BR /&gt;by: { dt.entity.synthetic_test, dt.entity.synthetic_location, dt.entity.http_check },&lt;BR /&gt;filter: { contains(entityAttr(dt.entity.http_check, "entity.name"), "variable") }&lt;BR /&gt;| append [&lt;BR /&gt;timeseries series = avg(dt.synthetic.browser.availability),&lt;BR /&gt;by: { dt.entity.synthetic_test, dt.entity.synthetic_location },&lt;BR /&gt;filter: { contains(entityAttr(dt.entity.synthetic_test, "entity.name"), "variable") }&lt;BR /&gt;]&lt;/P&gt;&lt;P&gt;Is this the most efficient way to run this combined data set?&amp;nbsp;&lt;/P&gt;&lt;P&gt;i have 2 questions.&lt;/P&gt;&lt;P&gt;1. In DQL can the variable be set as a variable and not a string that I have to modify in 2 places.&lt;/P&gt;&lt;P&gt;2. In DQL is there a more efficient way to combine the data.&amp;nbsp; (Is append the best way?)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 24 Nov 2025 16:16:13 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Synthetic-Monitoring/Combining-timeseries-data-for-synthetic-availability-best/m-p/290163#M3258</guid>
      <dc:creator>Moonrox</dc:creator>
      <dc:date>2025-11-24T16:16:13Z</dc:date>
    </item>
    <item>
      <title>Re: Combining timeseries data for synthetic availability best practices</title>
      <link>https://community.dynatrace.com/t5/Synthetic-Monitoring/Combining-timeseries-data-for-synthetic-availability-best/m-p/290175#M3259</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Pure DQL does not support internal variables. You can define variables and use them&amp;nbsp;when:&lt;/P&gt;&lt;P&gt;the query runs inside a Dashboard tile, or inside a Notebook with defined parameters.&lt;/P&gt;&lt;P&gt;In that case, $variableName gets substituted before execution.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Ad2.&amp;nbsp;dt.synthetic.http.availability and dt.synthetic.browser.availability are two different metric keys.&lt;BR /&gt;Because they are stored separately, Dynatrace cannot fetch both in a single timeseries clause.&lt;/P&gt;&lt;P&gt;That means,&amp;nbsp;You must run two metric queries and the correct way to combine the results is exactly what you did.&lt;BR /&gt;append works very efficiently for this scenario because it is just concatenating two independent result sets.There is no join, no correlation, no expensive pipeline step.&lt;/P&gt;</description>
      <pubDate>Mon, 24 Nov 2025 20:56:04 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Synthetic-Monitoring/Combining-timeseries-data-for-synthetic-availability-best/m-p/290175#M3259</guid>
      <dc:creator>t_pawlak</dc:creator>
      <dc:date>2025-11-24T20:56:04Z</dc:date>
    </item>
  </channel>
</rss>

