<?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: Tagging custom metrics, API v2 in Dynatrace API</title>
    <link>https://community.dynatrace.com/t5/Dynatrace-API/Tagging-custom-metrics-API-v2/m-p/174684#M1574</link>
    <description>&lt;P&gt;Hi Conal,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Correct. In this case you'd define a new generic entity called &lt;STRONG&gt;sodacan&lt;/STRONG&gt; and set the extractionrule to be some string (in my case &lt;STRONG&gt;sodacanid&lt;/STRONG&gt;)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Then whenever you pass a metric, a new entity (think of an object in OOP) will be automatically created based on that unique ID.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="adam_gardner_0-1635114332990.png" style="width: 400px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/3126iB97BE3A3F739ED65/image-size/medium?v=v2&amp;amp;px=400" role="button" title="adam_gardner_0-1635114332990.png" alt="adam_gardner_0-1635114332990.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Feel free to reach out on email (firstname.lastname&amp;nbsp;@ dynatrace.com) if you want to describe your setup in more detail privately.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Sun, 24 Oct 2021 22:27:52 GMT</pubDate>
    <dc:creator>adam_gardner</dc:creator>
    <dc:date>2021-10-24T22:27:52Z</dc:date>
    <item>
      <title>Tagging custom metrics, API v2</title>
      <link>https://community.dynatrace.com/t5/Dynatrace-API/Tagging-custom-metrics-API-v2/m-p/174332#M1570</link>
      <description>&lt;P&gt;We are creating custom business metrics using the metrics API v2.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Before, when sending custom metrics with API v1 we used to tag the custom device and we could use those tags for alerting profile filters.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I might have missed it but I'm unsure if it's possible to tag the v2 kind of metric.&lt;/P&gt;
&lt;P&gt;Has anyone done something similar, how do you set up the tagging rules?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 19 Oct 2021 07:45:27 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Dynatrace-API/Tagging-custom-metrics-API-v2/m-p/174332#M1570</guid>
      <dc:creator>Conal_Buchanan1</dc:creator>
      <dc:date>2021-10-19T07:45:27Z</dc:date>
    </item>
    <item>
      <title>Re: Tagging custom metrics, API v2</title>
      <link>https://community.dynatrace.com/t5/Dynatrace-API/Tagging-custom-metrics-API-v2/m-p/174406#M1571</link>
      <description>&lt;P&gt;If you are having troubles tagging them via custom device, you can always revert to the entity selector and tag them from that standpoint. The entity selector allows you to set a tag for any entity in Dynatrace.&amp;nbsp;&lt;A href="https://www.dynatrace.com/support/help/dynatrace-api/environment-api/entity-v2/entity-selector/" target="_blank"&gt;https://www.dynatrace.com/support/help/dynatrace-api/environment-api/entity-v2/entity-selector/&lt;/A&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 19 Oct 2021 13:08:11 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Dynatrace-API/Tagging-custom-metrics-API-v2/m-p/174406#M1571</guid>
      <dc:creator>ChadTurner</dc:creator>
      <dc:date>2021-10-19T13:08:11Z</dc:date>
    </item>
    <item>
      <title>Re: Tagging custom metrics, API v2</title>
      <link>https://community.dynatrace.com/t5/Dynatrace-API/Tagging-custom-metrics-API-v2/m-p/174611#M1572</link>
      <description>&lt;P&gt;Extending what Chad said, you might want to look at the new &lt;A href="https://www.dynatrace.com/support/help/how-to-use-dynatrace/metrics/metric-ingestion/topology-model/custom-topology/" target="_self"&gt;generic entity model&lt;/A&gt;. Basic workflow is:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Create an entity type (this can be anything you could model in the physical world - let's say a soda can)&lt;/LI&gt;&lt;LI&gt;Push metrics with dimensions . An entity instance (an instance of a soda can) will be created. Metrics will be automatically attached to that entity. This also works with events.&lt;/LI&gt;&lt;LI&gt;Use the v2 tag API (or an autotag rule) to tag your entity with a key / value which then makes everything else easier.&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You can see your soda cans by going to abc123.live.dynatrace.com/ui/entity/list/entity:sodacan&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="adam_gardner_1-1634858071339.png" style="width: 400px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/3111i4C373E67A648FEC2/image-size/medium?v=v2&amp;amp;px=400" role="button" title="adam_gardner_1-1634858071339.png" alt="adam_gardner_1-1634858071339.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="adam_gardner_0-1634857948369.png" style="width: 400px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/3110i4C5FA708539A69D7/image-size/medium?v=v2&amp;amp;px=400" role="button" title="adam_gardner_0-1634857948369.png" alt="adam_gardner_0-1634857948369.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 21 Oct 2021 23:14:37 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Dynatrace-API/Tagging-custom-metrics-API-v2/m-p/174611#M1572</guid>
      <dc:creator>adam_gardner</dc:creator>
      <dc:date>2021-10-21T23:14:37Z</dc:date>
    </item>
    <item>
      <title>Re: Tagging custom metrics, API v2</title>
      <link>https://community.dynatrace.com/t5/Dynatrace-API/Tagging-custom-metrics-API-v2/m-p/174631#M1573</link>
      <description>&lt;P&gt;The generic entity model looks interesting.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So I assume we cannot tag the metric directly but define a custom entity type that matches the dimension we send in order to create the entity we tag.&lt;/P&gt;&lt;P&gt;I'll start digging deeper into it,&amp;nbsp;thank you.&lt;/P&gt;</description>
      <pubDate>Fri, 22 Oct 2021 09:32:43 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Dynatrace-API/Tagging-custom-metrics-API-v2/m-p/174631#M1573</guid>
      <dc:creator>Conal_Buchanan1</dc:creator>
      <dc:date>2021-10-22T09:32:43Z</dc:date>
    </item>
    <item>
      <title>Re: Tagging custom metrics, API v2</title>
      <link>https://community.dynatrace.com/t5/Dynatrace-API/Tagging-custom-metrics-API-v2/m-p/174684#M1574</link>
      <description>&lt;P&gt;Hi Conal,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Correct. In this case you'd define a new generic entity called &lt;STRONG&gt;sodacan&lt;/STRONG&gt; and set the extractionrule to be some string (in my case &lt;STRONG&gt;sodacanid&lt;/STRONG&gt;)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Then whenever you pass a metric, a new entity (think of an object in OOP) will be automatically created based on that unique ID.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="adam_gardner_0-1635114332990.png" style="width: 400px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/3126iB97BE3A3F739ED65/image-size/medium?v=v2&amp;amp;px=400" role="button" title="adam_gardner_0-1635114332990.png" alt="adam_gardner_0-1635114332990.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Feel free to reach out on email (firstname.lastname&amp;nbsp;@ dynatrace.com) if you want to describe your setup in more detail privately.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 24 Oct 2021 22:27:52 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Dynatrace-API/Tagging-custom-metrics-API-v2/m-p/174684#M1574</guid>
      <dc:creator>adam_gardner</dc:creator>
      <dc:date>2021-10-24T22:27:52Z</dc:date>
    </item>
  </channel>
</rss>

