<?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: How does JMX2.0 extension matches the jmx metric name to internal metric name in Extensions</title>
    <link>https://community.dynatrace.com/t5/Extensions/How-does-JMX2-0-extension-matches-the-JMX-metric-name-to/m-p/249665#M4729</link>
    <description>&lt;P&gt;Hi Mike,&lt;/P&gt;&lt;P&gt;Thank you for the response. I have attached a text file which contains the jmx section too.&amp;nbsp;&lt;/P&gt;&lt;P&gt;My application is pushing the metric to JMX with bean name as "&lt;STRONG&gt;gb.request.count"&amp;nbsp;&lt;/STRONG&gt;and the extension file does not have this name anywhere. extension has "&lt;STRONG&gt;cpi.it-gb.gb.request".&amp;nbsp;&lt;/STRONG&gt;I am failing to understand how does dynatrace maps&amp;nbsp;&lt;STRONG&gt;cpi.it-gb.gb.request &lt;/STRONG&gt;to&amp;nbsp;&lt;STRONG&gt;gb.request.count&amp;nbsp;&lt;/STRONG&gt;and display the metric.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Abhay&lt;/P&gt;</description>
    <pubDate>Tue, 02 Jul 2024 11:37:55 GMT</pubDate>
    <dc:creator>Abhay_SAP</dc:creator>
    <dc:date>2024-07-02T11:37:55Z</dc:date>
    <item>
      <title>How does JMX2.0 extension matches the JMX metric name to internal metric name</title>
      <link>https://community.dynatrace.com/t5/Extensions/How-does-JMX2-0-extension-matches-the-JMX-metric-name-to/m-p/249659#M4726</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;I have a CF application which publishes a metric named "&lt;STRONG&gt;gb.request.count&lt;/STRONG&gt;" to JMX. My extension.yaml file used in JMX2.0 defines the metric as follows:&lt;/P&gt;
&lt;P&gt;metrics:&lt;BR /&gt;&amp;nbsp; - key: &lt;STRONG&gt;cpi.it-gb.gb.request&lt;/STRONG&gt;&lt;BR /&gt;&amp;nbsp; metadata:&lt;BR /&gt;&amp;nbsp; &amp;nbsp; displayName: IT-GB Total Request Count&lt;BR /&gt;&amp;nbsp; &amp;nbsp; description: IT-GB Total Request Count&lt;BR /&gt;&amp;nbsp; &amp;nbsp; unit: Count&lt;BR /&gt;&amp;nbsp; &amp;nbsp; sourceEntityType: process_group_instance&lt;BR /&gt;&amp;nbsp; &amp;nbsp; tags:&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; - JMX&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The dynatrace shows the metric properly.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;My question is how is "&lt;STRONG&gt;cpi.it-gb.gb.request"&amp;nbsp;&lt;/STRONG&gt;mapped to "&lt;STRONG&gt;gb.request.count&lt;/STRONG&gt;"?&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks,&lt;/P&gt;
&lt;P&gt;Abhay&lt;/P&gt;</description>
      <pubDate>Mon, 19 Aug 2024 07:57:42 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Extensions/How-does-JMX2-0-extension-matches-the-JMX-metric-name-to/m-p/249659#M4726</guid>
      <dc:creator>Abhay_SAP</dc:creator>
      <dc:date>2024-08-19T07:57:42Z</dc:date>
    </item>
    <item>
      <title>Re: How does JMX2.0 extension matches the jmx metric name to internal metric name</title>
      <link>https://community.dynatrace.com/t5/Extensions/How-does-JMX2-0-extension-matches-the-JMX-metric-name-to/m-p/249661#M4727</link>
      <description>&lt;P&gt;The snippet you shared is from the metric metadata. This section of the yaml is only responsible for display names and units and such, no matter the source.&lt;/P&gt;
&lt;P&gt;Inside your YAML you also have the the JMX section where you give the metric an ID based on the mbean attribute. If you want to rename the ID of the metric and remove "cpi.it-" from the metric ID, that's the easiest place to do that.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you're just wondering why it added "count" at the end of the metric, that's because you defined this as a count metric in the jmx section of the YAML.&lt;/P&gt;</description>
      <pubDate>Tue, 02 Jul 2024 11:21:55 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Extensions/How-does-JMX2-0-extension-matches-the-JMX-metric-name-to/m-p/249661#M4727</guid>
      <dc:creator>Mike_L</dc:creator>
      <dc:date>2024-07-02T11:21:55Z</dc:date>
    </item>
    <item>
      <title>Re: How does JMX2.0 extension matches the jmx metric name to internal metric name</title>
      <link>https://community.dynatrace.com/t5/Extensions/How-does-JMX2-0-extension-matches-the-JMX-metric-name-to/m-p/249665#M4729</link>
      <description>&lt;P&gt;Hi Mike,&lt;/P&gt;&lt;P&gt;Thank you for the response. I have attached a text file which contains the jmx section too.&amp;nbsp;&lt;/P&gt;&lt;P&gt;My application is pushing the metric to JMX with bean name as "&lt;STRONG&gt;gb.request.count"&amp;nbsp;&lt;/STRONG&gt;and the extension file does not have this name anywhere. extension has "&lt;STRONG&gt;cpi.it-gb.gb.request".&amp;nbsp;&lt;/STRONG&gt;I am failing to understand how does dynatrace maps&amp;nbsp;&lt;STRONG&gt;cpi.it-gb.gb.request &lt;/STRONG&gt;to&amp;nbsp;&lt;STRONG&gt;gb.request.count&amp;nbsp;&lt;/STRONG&gt;and display the metric.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Abhay&lt;/P&gt;</description>
      <pubDate>Tue, 02 Jul 2024 11:37:55 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Extensions/How-does-JMX2-0-extension-matches-the-JMX-metric-name-to/m-p/249665#M4729</guid>
      <dc:creator>Abhay_SAP</dc:creator>
      <dc:date>2024-07-02T11:37:55Z</dc:date>
    </item>
    <item>
      <title>Re: How does JMX2.0 extension matches the jmx metric name to internal metric name</title>
      <link>https://community.dynatrace.com/t5/Extensions/How-does-JMX2-0-extension-matches-the-JMX-metric-name-to/m-p/249916#M4758</link>
      <description>&lt;P&gt;Inside your yaml you have this section. We fetch the Count attribute from the JMX query you have defined under "query":&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;jmx:
  groups:
    - group: jmx
      subgroups:
        - subgroup: metrics:name=gbRequestCount.systemId.dummyId,*
          query: metrics:name=gbRequestCount.systemId.dummyId,*
          metrics:
            - key: cpi.it-gb.gb.request
              value: attribute:Count
              type: gauge
            - key: cpi.it-gb.gb.request.count.rate.count
              value: attribute:Count
              type: count&lt;/LI-CODE&gt;</description>
      <pubDate>Thu, 04 Jul 2024 15:54:38 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Extensions/How-does-JMX2-0-extension-matches-the-JMX-metric-name-to/m-p/249916#M4758</guid>
      <dc:creator>Mike_L</dc:creator>
      <dc:date>2024-07-04T15:54:38Z</dc:date>
    </item>
  </channel>
</rss>

