<?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: Need to fetch cluster ID/name in the metrics query in DQL</title>
    <link>https://community.dynatrace.com/t5/DQL/Fetch-Cluster-ID-and-Name-in-Metrics-Queries-Using-DQL/m-p/282078#M2363</link>
    <description>&lt;P&gt;I noticed you posted this thread in the DQL section of the forum.. Are you open to using a DQL query in a Notebook or Dashboard for this task? The reason I ask is because DQL offers additional flexibility compared to metric selector expressions, enabling multi-step queries to add fields (including entity attributes and relationships) or conduct further filtering.&lt;/P&gt;</description>
    <pubDate>Tue, 22 Jul 2025 15:52:53 GMT</pubDate>
    <dc:creator>marco_irmer</dc:creator>
    <dc:date>2025-07-22T15:52:53Z</dc:date>
    <item>
      <title>Fetch Cluster ID and Name in Metrics Queries Using DQL</title>
      <link>https://community.dynatrace.com/t5/DQL/Fetch-Cluster-ID-and-Name-in-Metrics-Queries-Using-DQL/m-p/282036#M2359</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;
&lt;P&gt;I am creating a Dynatrace dashboard for which I need data from a particular cluster, I am currently using AWS Container Insight metrics in Dynatrace data explorer, specifically metrics like:&lt;BR /&gt;&lt;BR /&gt;&lt;FONT color="#0000FF"&gt;&lt;U&gt;ext:cloud.aws.containerinsights.pod_cpu_reserved_capacityByNamespacePodName:splitBy(Namespace):sort(value(auto,descending)):limit(20)&lt;/U&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;BR /&gt;My goal is to filter these metrics to show data only from one specific cluster. However, when I try using filter expressions like:&lt;BR /&gt;:filter(eq("ClusterName","my-cluster")), i get the error :&lt;BR /&gt;The Dimension key 'ClusterName ' (or 'clusterId') has been referenced, but the metrics have no such key.&lt;/P&gt;
&lt;P&gt;I have also inspected the available dimensions for this metric using splitBy(), and I don't see any cluster-level dimensions exposed.&lt;/P&gt;
&lt;P&gt;My Questions:&lt;/P&gt;
&lt;P&gt;1. Is there a version of these Container Insights metrics that includes a cluster name or similar dimension?&lt;/P&gt;
&lt;P&gt;2. If not, how can I reliably filter these metrics per cluster?&lt;/P&gt;
&lt;P&gt;I'd appreciate any help or examples from those who've dealt with this limitation. Also, I want to alias this metric, but I am not able to figure it out.&lt;BR /&gt;&lt;BR /&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Wed, 17 Dec 2025 13:45:51 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/DQL/Fetch-Cluster-ID-and-Name-in-Metrics-Queries-Using-DQL/m-p/282036#M2359</guid>
      <dc:creator>manuanand</dc:creator>
      <dc:date>2025-12-17T13:45:51Z</dc:date>
    </item>
    <item>
      <title>Re: Need to fetch cluster ID/name in the metrics query</title>
      <link>https://community.dynatrace.com/t5/DQL/Fetch-Cluster-ID-and-Name-in-Metrics-Queries-Using-DQL/m-p/282078#M2363</link>
      <description>&lt;P&gt;I noticed you posted this thread in the DQL section of the forum.. Are you open to using a DQL query in a Notebook or Dashboard for this task? The reason I ask is because DQL offers additional flexibility compared to metric selector expressions, enabling multi-step queries to add fields (including entity attributes and relationships) or conduct further filtering.&lt;/P&gt;</description>
      <pubDate>Tue, 22 Jul 2025 15:52:53 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/DQL/Fetch-Cluster-ID-and-Name-in-Metrics-Queries-Using-DQL/m-p/282078#M2363</guid>
      <dc:creator>marco_irmer</dc:creator>
      <dc:date>2025-07-22T15:52:53Z</dc:date>
    </item>
    <item>
      <title>Re: Need to fetch cluster ID/name in the metrics query</title>
      <link>https://community.dynatrace.com/t5/DQL/Fetch-Cluster-ID-and-Name-in-Metrics-Queries-Using-DQL/m-p/282116#M2364</link>
      <description>&lt;P&gt;Yes, i am writing the metric dql in Data Explorer of Dynatrace dashboard, i have limitation to use only the same. Please check the screenshot for clarity. If anything can be done to alias the metric expression and filter the data at cluster level in a single statement, that is needed or if any alternate approach to get expected results.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 23 Jul 2025 07:02:03 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/DQL/Fetch-Cluster-ID-and-Name-in-Metrics-Queries-Using-DQL/m-p/282116#M2364</guid>
      <dc:creator>manuanand</dc:creator>
      <dc:date>2025-07-23T07:02:03Z</dc:date>
    </item>
    <item>
      <title>Re: Need to fetch cluster ID/name in the metrics query</title>
      <link>https://community.dynatrace.com/t5/DQL/Fetch-Cluster-ID-and-Name-in-Metrics-Queries-Using-DQL/m-p/291721#M2912</link>
      <description>&lt;P&gt;Hey&amp;nbsp;&lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/93607"&gt;@manuanand&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 13:45:26 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/DQL/Fetch-Cluster-ID-and-Name-in-Metrics-Queries-Using-DQL/m-p/291721#M2912</guid>
      <dc:creator>IzabelaRokita</dc:creator>
      <dc:date>2025-12-17T13:45:26Z</dc:date>
    </item>
    <item>
      <title>Re: Need to fetch cluster ID/name in the metrics query</title>
      <link>https://community.dynatrace.com/t5/DQL/Fetch-Cluster-ID-and-Name-in-Metrics-Queries-Using-DQL/m-p/291724#M2914</link>
      <description>&lt;P&gt;Yes please, that would be helpful.&lt;/P&gt;</description>
      <pubDate>Wed, 17 Dec 2025 14:11:14 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/DQL/Fetch-Cluster-ID-and-Name-in-Metrics-Queries-Using-DQL/m-p/291724#M2914</guid>
      <dc:creator>manuanand</dc:creator>
      <dc:date>2025-12-17T14:11:14Z</dc:date>
    </item>
  </channel>
</rss>

