<?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 How to filter by Tag in Metrics API in Dynatrace API</title>
    <link>https://community.dynatrace.com/t5/Dynatrace-API/How-to-filter-by-Tag-in-Metrics-API/m-p/233735#M2861</link>
    <description>&lt;P&gt;Hi,&lt;BR /&gt;&lt;BR /&gt;I'm trying to fetch data using metrics API as I mentioned API request URL below:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://{environmentid}.live.dynatrace.com/api/v2/metrics/query?metricSelector=builtin%3Aservice.errors.fivexx.count&amp;amp;entitySelector=tag%28%22CST01%22%29&amp;amp;mzSelector=mzName%28%22Autofix-Openreach_APP11319%22%29" target="_blank" rel="noopener"&gt;https://{environmentid}.live.dynatrace.com/api/v2/metrics/query?metricSelector=builtin%3Aservice.errors.fivexx.count&amp;amp;entitySelector=tag%28%22CST01%22%29&amp;amp;mzSelector=mzName%28%22Autofix-Openreach_APP11319%22%29&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Here I'm trying to pass entitySelector as tag which is giving me incorrect entitySelector response.&lt;BR /&gt;My tag value is CST01. Please help me how to pass tag value in request URL&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 20 Aug 2024 13:51:51 GMT</pubDate>
    <dc:creator>Shruts</dc:creator>
    <dc:date>2024-08-20T13:51:51Z</dc:date>
    <item>
      <title>How to filter by Tag in Metrics API</title>
      <link>https://community.dynatrace.com/t5/Dynatrace-API/How-to-filter-by-Tag-in-Metrics-API/m-p/233735#M2861</link>
      <description>&lt;P&gt;Hi,&lt;BR /&gt;&lt;BR /&gt;I'm trying to fetch data using metrics API as I mentioned API request URL below:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://{environmentid}.live.dynatrace.com/api/v2/metrics/query?metricSelector=builtin%3Aservice.errors.fivexx.count&amp;amp;entitySelector=tag%28%22CST01%22%29&amp;amp;mzSelector=mzName%28%22Autofix-Openreach_APP11319%22%29" target="_blank" rel="noopener"&gt;https://{environmentid}.live.dynatrace.com/api/v2/metrics/query?metricSelector=builtin%3Aservice.errors.fivexx.count&amp;amp;entitySelector=tag%28%22CST01%22%29&amp;amp;mzSelector=mzName%28%22Autofix-Openreach_APP11319%22%29&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Here I'm trying to pass entitySelector as tag which is giving me incorrect entitySelector response.&lt;BR /&gt;My tag value is CST01. Please help me how to pass tag value in request URL&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 20 Aug 2024 13:51:51 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Dynatrace-API/How-to-filter-by-Tag-in-Metrics-API/m-p/233735#M2861</guid>
      <dc:creator>Shruts</dc:creator>
      <dc:date>2024-08-20T13:51:51Z</dc:date>
    </item>
    <item>
      <title>Re: How to filter by Tag in Dynatrace Metrics API</title>
      <link>https://community.dynatrace.com/t5/Dynatrace-API/How-to-filter-by-Tag-in-Metrics-API/m-p/233736#M2862</link>
      <description>&lt;P&gt;For an entity seleector to work, you normally have to provide the&amp;nbsp;&lt;STRONG&gt;type&lt;/STRONG&gt; predicate as well, or the scope of the entity selector will be too wide. So something like this should work instead:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;entitySelector=type(SERVICE),tag(CST01)&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 09 Jan 2024 10:59:34 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Dynatrace-API/How-to-filter-by-Tag-in-Metrics-API/m-p/233736#M2862</guid>
      <dc:creator>victor_balbuena</dc:creator>
      <dc:date>2024-01-09T10:59:34Z</dc:date>
    </item>
    <item>
      <title>Re: How to filter by Tag in Dynatrace Metrics API</title>
      <link>https://community.dynatrace.com/t5/Dynatrace-API/How-to-filter-by-Tag-in-Metrics-API/m-p/233742#M2863</link>
      <description>&lt;P&gt;hi&amp;nbsp;&lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/68893"&gt;@Shruts&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You may found more information in this post :&amp;nbsp;&lt;A href="https://community.dynatrace.com/t5/Dynatrace-API/API-V2-tags-filter/m-p/164742" target="_blank"&gt;https://community.dynatrace.com/t5/Dynatrace-API/API-V2-tags-filter/m-p/164742&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 09 Jan 2024 11:21:53 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Dynatrace-API/How-to-filter-by-Tag-in-Metrics-API/m-p/233742#M2863</guid>
      <dc:creator>gbaudart</dc:creator>
      <dc:date>2024-01-09T11:21:53Z</dc:date>
    </item>
  </channel>
</rss>

