<?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 Proper kube-state-metrics associations in Dynatrace in Container platforms</title>
    <link>https://community.dynatrace.com/t5/Container-platforms/Proper-kube-state-metrics-associations-in-Dynatrace/m-p/219858#M1801</link>
    <description>&lt;P&gt;&lt;STRONG&gt;TL;DR&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;The Dynatrace kubernetes engineering team, based in Klagenfurt, Austria ("Klagifornia") delivered proper kube-state-metrics associations. This will be available in mid-August (SaaS 1.274).&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;More details&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;Dynatrace automatically associates metrics, traces, and logs with proper Kubernetes entities to present signals in the right context. Dynatrace makes this association by using Kubernetes API's, along with OneAgent Code Modules, to stitch together a map of each signal, and where it comes from. This is referred to as "topology."&lt;/P&gt;
&lt;P&gt;These associations work perfectly well for 99% of the workloads on Kubernetes. A metric, trace, or log is emitted, and Dynatrace associates that signal with a certain process, container, and pod. But there's an important exception we've been wanting to address. The kube-state-metrics pod.&lt;/P&gt;
&lt;P&gt;The kube-state-metrics pod is special. In addition to emitting metrics about itself, it also exports metrics about the state of other objects in Kubernetes, including nodes, pods, and deployments. All of these metrics are exposed via Prometheus and automatically available for dashboards, charts and alerts in Dynatrace.&lt;/P&gt;
&lt;P&gt;Today - Dynatrace assigns kube-state metrics to the kube-state-metrics pod itself, rather than to the objects it describes. From an engineering perspective this makes sense. From a user perspective, however, these metrics should be re-assigned. This is the issue our team addressed in Klagifornia last month.&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":smiling_face_with_sunglasses:"&gt;😎&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Below you can see this list of kube-state metrics in Dynatrace. All of these metrics start with the prefix "kube_" (the underscore is important).&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="2023-08-04_15-43-21.png" style="width: 400px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/13382i79C1CCF5E9BFE901/image-size/medium?v=v2&amp;amp;px=400" role="button" title="2023-08-04_15-43-21.png" alt="2023-08-04_15-43-21.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Looking more closely at an example, like kube_deployment_created, we see the workload, namespace, and cluster values are automatically linked to the proper Kubernetes analysis screens in Dynatrace. This illustrates the value of proper association. These links would not be available otherwise.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="2023-08-04_15-58-18.png" style="width: 400px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/13385i85BCA67AF9A7D7F5/image-size/medium?v=v2&amp;amp;px=400" role="button" title="2023-08-04_15-58-18.png" alt="2023-08-04_15-58-18.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Licensing improvement&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;In addition to the functional improvements there are changes to how kube-state-metrics consume DDUs. &lt;SPAN&gt;With correct associations in place, these (free) DDU's are now consumed by related hosts, rather than the host where a kube-state-metrics pod runs.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;Hats off to the engineers who made this possible. Let us know if you have questions or feedback. Again, this feature should be ready for production sometime in mid August (SaaS cluster 1.274)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 07 Aug 2023 06:57:46 GMT</pubDate>
    <dc:creator>mreider</dc:creator>
    <dc:date>2023-08-07T06:57:46Z</dc:date>
    <item>
      <title>Proper kube-state-metrics associations in Dynatrace</title>
      <link>https://community.dynatrace.com/t5/Container-platforms/Proper-kube-state-metrics-associations-in-Dynatrace/m-p/219858#M1801</link>
      <description>&lt;P&gt;&lt;STRONG&gt;TL;DR&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;The Dynatrace kubernetes engineering team, based in Klagenfurt, Austria ("Klagifornia") delivered proper kube-state-metrics associations. This will be available in mid-August (SaaS 1.274).&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;More details&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;Dynatrace automatically associates metrics, traces, and logs with proper Kubernetes entities to present signals in the right context. Dynatrace makes this association by using Kubernetes API's, along with OneAgent Code Modules, to stitch together a map of each signal, and where it comes from. This is referred to as "topology."&lt;/P&gt;
&lt;P&gt;These associations work perfectly well for 99% of the workloads on Kubernetes. A metric, trace, or log is emitted, and Dynatrace associates that signal with a certain process, container, and pod. But there's an important exception we've been wanting to address. The kube-state-metrics pod.&lt;/P&gt;
&lt;P&gt;The kube-state-metrics pod is special. In addition to emitting metrics about itself, it also exports metrics about the state of other objects in Kubernetes, including nodes, pods, and deployments. All of these metrics are exposed via Prometheus and automatically available for dashboards, charts and alerts in Dynatrace.&lt;/P&gt;
&lt;P&gt;Today - Dynatrace assigns kube-state metrics to the kube-state-metrics pod itself, rather than to the objects it describes. From an engineering perspective this makes sense. From a user perspective, however, these metrics should be re-assigned. This is the issue our team addressed in Klagifornia last month.&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":smiling_face_with_sunglasses:"&gt;😎&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Below you can see this list of kube-state metrics in Dynatrace. All of these metrics start with the prefix "kube_" (the underscore is important).&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="2023-08-04_15-43-21.png" style="width: 400px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/13382i79C1CCF5E9BFE901/image-size/medium?v=v2&amp;amp;px=400" role="button" title="2023-08-04_15-43-21.png" alt="2023-08-04_15-43-21.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Looking more closely at an example, like kube_deployment_created, we see the workload, namespace, and cluster values are automatically linked to the proper Kubernetes analysis screens in Dynatrace. This illustrates the value of proper association. These links would not be available otherwise.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="2023-08-04_15-58-18.png" style="width: 400px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/13385i85BCA67AF9A7D7F5/image-size/medium?v=v2&amp;amp;px=400" role="button" title="2023-08-04_15-58-18.png" alt="2023-08-04_15-58-18.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Licensing improvement&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;In addition to the functional improvements there are changes to how kube-state-metrics consume DDUs. &lt;SPAN&gt;With correct associations in place, these (free) DDU's are now consumed by related hosts, rather than the host where a kube-state-metrics pod runs.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;Hats off to the engineers who made this possible. Let us know if you have questions or feedback. Again, this feature should be ready for production sometime in mid August (SaaS cluster 1.274)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 07 Aug 2023 06:57:46 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Container-platforms/Proper-kube-state-metrics-associations-in-Dynatrace/m-p/219858#M1801</guid>
      <dc:creator>mreider</dc:creator>
      <dc:date>2023-08-07T06:57:46Z</dc:date>
    </item>
    <item>
      <title>Re: Proper kube-state-metrics associations in Dynatrace</title>
      <link>https://community.dynatrace.com/t5/Container-platforms/Proper-kube-state-metrics-associations-in-Dynatrace/m-p/219938#M1802</link>
      <description>&lt;P&gt;fyi&amp;nbsp;&lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/46923"&gt;@g_diener&lt;/a&gt;&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 07 Aug 2023 06:25:42 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Container-platforms/Proper-kube-state-metrics-associations-in-Dynatrace/m-p/219938#M1802</guid>
      <dc:creator>florian_g</dc:creator>
      <dc:date>2023-08-07T06:25:42Z</dc:date>
    </item>
  </channel>
</rss>

