<?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: Use DQL Processor for Metrics Transformation and Analysis in DQL</title>
    <link>https://community.dynatrace.com/t5/DQL/Use-DQL-Processor-for-Metrics-Transformation-and-Analysis/m-p/291663#M2889</link>
    <description>&lt;P&gt;Hey&amp;nbsp;&lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/41155"&gt;@36Krazyfists&lt;/a&gt;&amp;nbsp;,&lt;BR /&gt;&lt;SPAN&gt;I just wanted to check in and see if you still need help with this. If so, I’d be happy to look into it for you!&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class="lia-unicode-emoji" title=":smiling_face_with_smiling_eyes:"&gt;&lt;span class="lia-unicode-emoji" title=":smiling_face_with_smiling_eyes:"&gt;😊&lt;/span&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Please let me know what works best for you.&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 17 Dec 2025 10:13:22 GMT</pubDate>
    <dc:creator>IzabelaRokita</dc:creator>
    <dc:date>2025-12-17T10:13:22Z</dc:date>
    <item>
      <title>Use DQL Processor for Metrics Transformation and Analysis</title>
      <link>https://community.dynatrace.com/t5/DQL/Use-DQL-Processor-for-Metrics-Transformation-and-Analysis/m-p/286470#M2608</link>
      <description>&lt;P&gt;Now, I'm not talking about extracting metrics from a log or an event.&amp;nbsp; I know how to do that very well.&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;What I'm talking about is, in OpenPipeline, you can create pipelines for Metrics where you can apply processors to them (like add/remove/change dimensions or values).&lt;/P&gt;
&lt;P&gt;What I need to understand is how that should be done in OpenPipeline.&lt;/P&gt;
&lt;P&gt;With a logs processor for example, if you add a DQL processor, the pipeline already does the beginning of the DQL query for you:&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;fetch logs
| filter &amp;lt;whatever your match condition is&amp;gt;
|&lt;/LI-CODE&gt;
&lt;P&gt;and, in the OpenPipeline box, you are putting in whatever you would put after that &lt;STRONG&gt;|&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;But, you don't fetch metrics in DQL.&amp;nbsp; You use the &lt;STRONG&gt;timeseries&lt;/STRONG&gt; command, so, if I want to add a new dimension based on the value of an existing metric dimension, what do I need to put in the Match condition to make sure I'm processing the desired metric and what do I need to put in the DQL box to get the existing dimension values and add a new dimension?&lt;BR /&gt;&lt;BR /&gt;Say I have a metric called:&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;metric_a&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;And it has a dimension called &lt;STRONG&gt;order_type&lt;/STRONG&gt; with possible values of "&lt;STRONG&gt;M&lt;/STRONG&gt;" and "&lt;STRONG&gt;L&lt;/STRONG&gt;"&lt;/P&gt;
&lt;P&gt;I want to add a new dimension called &lt;STRONG&gt;order_description&lt;/STRONG&gt; that has a value of "&lt;STRONG&gt;Market&lt;/STRONG&gt; &lt;STRONG&gt;Order&lt;/STRONG&gt;" where &lt;STRONG&gt;order_type&lt;/STRONG&gt; = "&lt;STRONG&gt;M&lt;/STRONG&gt;" and "&lt;STRONG&gt;Limit Order&lt;/STRONG&gt;" where &lt;STRONG&gt;order_type&lt;/STRONG&gt; = "&lt;STRONG&gt;L&lt;/STRONG&gt;".&lt;/P&gt;
&lt;P&gt;I know how to do that in Notebooks DQL by using the &lt;STRONG&gt;timeseries&lt;/STRONG&gt; command and selecting the metric named &lt;STRONG&gt;metric_a&lt;/STRONG&gt; and making sure I use the &lt;STRONG&gt;order_type&lt;/STRONG&gt; dimension in the &lt;STRONG&gt;by:{}&lt;/STRONG&gt; property and then using a &lt;STRONG&gt;fieldsAdd&lt;/STRONG&gt; command with an &lt;STRONG&gt;if&lt;/STRONG&gt; clause.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;But, since I don't know what OpenPipeline has already done ahead of time for me, I don't know where I'm picking up at for both the filter and the actual adding of the dimension...&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Can somebody share an example of an OpenPipeline processor for Metrics that adds a new dimension based on an existing metric dimension?&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 17 Dec 2025 10:12:55 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/DQL/Use-DQL-Processor-for-Metrics-Transformation-and-Analysis/m-p/286470#M2608</guid>
      <dc:creator>36Krazyfists</dc:creator>
      <dc:date>2025-12-17T10:12:55Z</dc:date>
    </item>
    <item>
      <title>Re: Use DQL Processor for Metrics Transformation and Analysis</title>
      <link>https://community.dynatrace.com/t5/DQL/Use-DQL-Processor-for-Metrics-Transformation-and-Analysis/m-p/291663#M2889</link>
      <description>&lt;P&gt;Hey&amp;nbsp;&lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/41155"&gt;@36Krazyfists&lt;/a&gt;&amp;nbsp;,&lt;BR /&gt;&lt;SPAN&gt;I just wanted to check in and see if you still need help with this. If so, I’d be happy to look into it for you!&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class="lia-unicode-emoji" title=":smiling_face_with_smiling_eyes:"&gt;&lt;span class="lia-unicode-emoji" title=":smiling_face_with_smiling_eyes:"&gt;😊&lt;/span&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Please let me know what works best for you.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 17 Dec 2025 10:13:22 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/DQL/Use-DQL-Processor-for-Metrics-Transformation-and-Analysis/m-p/291663#M2889</guid>
      <dc:creator>IzabelaRokita</dc:creator>
      <dc:date>2025-12-17T10:13:22Z</dc:date>
    </item>
  </channel>
</rss>

