<?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: Pass Tags to TimeSeries API in Dynatrace API</title>
    <link>https://community.dynatrace.com/t5/Dynatrace-API/Pass-Tags-to-TimeSeries-API/m-p/120206#M954</link>
    <description>&lt;P&gt;You want pass value or get metrics? &lt;/P&gt;&lt;P&gt;If you want get metrics you have to set particular entities you are interested in. You should use get requests:&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.dynatrace.com/support/help/extend-dynatrace/dynatrace-api/environment-api/timeseries/timeseries-api-read-data-points-of-a-metric/#expand-873example"&gt;https://www.dynatrace.com/support/help/extend-dynatrace/dynatrace-api/environment-api/timeseries/timeseries-api-read-data-points-of-a-metric/#expand-873example&lt;/A&gt;&lt;/P&gt;&lt;P&gt;To get list of entities which are matching your criteria, first you will have to use this request:&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.dynatrace.com/support/help/shortlink/api-hosts#anchor_host-list"&gt;https://www.dynatrace.com/support/help/shortlink/api-hosts#anchor_host-list&lt;/A&gt;&lt;/P&gt;&lt;P&gt;As I see during post is the same situation where you have pass particular entities not tags.&lt;/P&gt;&lt;P&gt;Sebastian&lt;/P&gt;&lt;BR /&gt;</description>
    <pubDate>Wed, 26 Jun 2019 04:52:42 GMT</pubDate>
    <dc:creator>skrystosik</dc:creator>
    <dc:date>2019-06-26T04:52:42Z</dc:date>
    <item>
      <title>Pass Tags to TimeSeries API</title>
      <link>https://community.dynatrace.com/t5/Dynatrace-API/Pass-Tags-to-TimeSeries-API/m-p/120205#M953</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;How can we pass tags in the Time series API.I am using POST /timeseries/{metricIdentifier} &amp;amp; when I pass the tag in the below format I am seeing all the other hosts also in the list.Can someone please let me know whether I am passing it properly or not &amp;amp; also option to filter only specific hosts using tags or management zone.&lt;/P&gt;
&lt;P&gt;{&lt;/P&gt;
&lt;P&gt;"timeseriesId": "com.dynatrace.builtin:host.availability",&lt;/P&gt;
&lt;P&gt;"displayName": "Availability",&lt;/P&gt;
&lt;P&gt;"dimensions": [&lt;/P&gt;
&lt;P&gt;"HOST"&lt;/P&gt;
&lt;P&gt;],&lt;/P&gt;
&lt;P&gt;"unit": "State",&lt;/P&gt;
&lt;P&gt;"detailedSource": "Infrastructure",&lt;/P&gt;
&lt;P&gt;"types": [],&lt;/P&gt;
&lt;P&gt;"relativeTime": "10MINS",&lt;/P&gt;
&lt;P&gt;"aggregationTypes": [],&lt;/P&gt;
&lt;P&gt;"filter": "BUILTIN"&lt;/P&gt;
&lt;P&gt;}&lt;/P&gt;
&lt;P&gt;{&lt;/P&gt;
&lt;P&gt;"tags": [&lt;/P&gt;
&lt;P&gt;- {&lt;/P&gt;
&lt;P&gt;"context":"Tags",&lt;/P&gt;
&lt;P&gt;"Key":"abc"&lt;/P&gt;
&lt;P&gt;}&lt;/P&gt;
&lt;P&gt;]&lt;/P&gt;
&lt;P&gt;}&lt;/P&gt;
&lt;P&gt;Thanks,&lt;/P&gt;
&lt;P&gt;Tarun&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 25 May 2021 11:48:57 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Dynatrace-API/Pass-Tags-to-TimeSeries-API/m-p/120205#M953</guid>
      <dc:creator>tarun_kumar_aga</dc:creator>
      <dc:date>2021-05-25T11:48:57Z</dc:date>
    </item>
    <item>
      <title>Re: Pass Tags to TimeSeries API</title>
      <link>https://community.dynatrace.com/t5/Dynatrace-API/Pass-Tags-to-TimeSeries-API/m-p/120206#M954</link>
      <description>&lt;P&gt;You want pass value or get metrics? &lt;/P&gt;&lt;P&gt;If you want get metrics you have to set particular entities you are interested in. You should use get requests:&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.dynatrace.com/support/help/extend-dynatrace/dynatrace-api/environment-api/timeseries/timeseries-api-read-data-points-of-a-metric/#expand-873example"&gt;https://www.dynatrace.com/support/help/extend-dynatrace/dynatrace-api/environment-api/timeseries/timeseries-api-read-data-points-of-a-metric/#expand-873example&lt;/A&gt;&lt;/P&gt;&lt;P&gt;To get list of entities which are matching your criteria, first you will have to use this request:&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.dynatrace.com/support/help/shortlink/api-hosts#anchor_host-list"&gt;https://www.dynatrace.com/support/help/shortlink/api-hosts#anchor_host-list&lt;/A&gt;&lt;/P&gt;&lt;P&gt;As I see during post is the same situation where you have pass particular entities not tags.&lt;/P&gt;&lt;P&gt;Sebastian&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 26 Jun 2019 04:52:42 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Dynatrace-API/Pass-Tags-to-TimeSeries-API/m-p/120206#M954</guid>
      <dc:creator>skrystosik</dc:creator>
      <dc:date>2019-06-26T04:52:42Z</dc:date>
    </item>
  </channel>
</rss>

