# Difference between two Kubernetes built-in metrics

**URL:** <https://community.dynatrace.com/t/difference-between-two-kubernetes-built-in-metrics/35810>\
**Category:** Container platforms\
**Tags:** dynatrace-managed, kubernetes\
**Created:** [July 11, 2022, 3:44pm UTC](https://community.dynatrace.com/t/difference-between-two-kubernetes-built-in-metrics/35810 "2022-07-11T15:44:15Z")\
**Posts on this page:** 13\
**Page:** 1

<div class="post-metadata">

**Author:** ![MariusNicolae](https://avatars.discourse-cdn.com/v4/letter/m/bc79bd/32.png) [@MariusNicolae](https://community.dynatrace.com/u/MariusNicolae)\
**Post date:** [July 11, 2022, 3:44pm UTC](https://community.dynatrace.com/t/difference-between-two-kubernetes-built-in-metrics/35810/1 "2022-07-11T15:44:15Z")

</div>

Hi everyone,

I have a question about two different but very similar built-in Kubernetes metrics.

At the moment in my environment all the “builtin:cloud.kubernetes.\*” metrics have values in them and I can use them and as far as the monitoring of the Kubernetes cluster everything is there and working properly.

But I have noticed the presence of the “builtin:kubernetes.\*” metrics which have no value and nothing has ever been written and I don’t really understand the difference between these 2 metrics, I didn’t find much explanation of what’s different on the documentation, the Kubernetes hyperlink takes me to the “builtin:cloud.kubernetes” one but the “builtin:kubernetes” one is also present but I couldn’t figure out why just one kind of metrics holds values, does anyone knows why?

Thank you!

Best regards.

---

<div class="post-metadata">

**Author:** ![techean](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/techean/32/227_2.png) [@techean](https://community.dynatrace.com/u/techean)\
**Post date:** [July 13, 2022, 9:04am UTC](https://community.dynatrace.com/t/difference-between-two-kubernetes-built-in-metrics/35810/2 "2022-07-13T09:04:59Z")

</div>

“builtin:cloud.kubernetes” - AWS fargate, AZURE cluster, GCP,

“builtin:kubernetes” - VMware tanzu, openshift, other on-prmise kn8s orchestration cluster deployed.

---

<div class="post-metadata">

**Author:** ![MariusNicolae](https://avatars.discourse-cdn.com/v4/letter/m/bc79bd/32.png) [@MariusNicolae](https://community.dynatrace.com/u/MariusNicolae)\
**Post date:** [July 13, 2022, 9:17am UTC](https://community.dynatrace.com/t/difference-between-two-kubernetes-built-in-metrics/35810/3 "2022-07-13T09:17:14Z")

</div>

Sorry but it doesn’t seem to be right.

I have checked in the environments of 2 clients, one has clusters on GCP and one has clusters on VMWare and only the “builtin:.cloud.kubernetes” metrics are used in both cases

---

<div class="post-metadata">

**Author:** ![mizso74](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/mizso74/32/41729_2.png) [@mizso74](https://community.dynatrace.com/u/mizso74)\
**Post date:** [July 13, 2022, 12:41pm UTC](https://community.dynatrace.com/t/difference-between-two-kubernetes-built-in-metrics/35810/4 "2022-07-13T12:41:22Z")

</div>

Hi Marius,

I have already observed it. Builtin:kubernetes metrics are empty on my side also however I do not have colud integration (AWS,AZURE,GCP) in my environments only have onprem Openshift and OKD integrations. These builtin:kubernetes metrics are listed in the documentation but I could no find any other information about them:&nbsp;[Built-in metrics | Dynatrace Docs](https://www.dynatrace.com/support/help/how-to-use-dynatrace/metrics/built-in-metrics)

As I have checked them I have found a uniqe one especially the frist in the list:&nbsp;builtin:kubernetes.container.oom\_kills. This is not exist in builtin:colud.kubernetes.

Maybe I am wrong but once I have seen a perf clininc video with Henrik Rexed. (at 32:10)

[Kubernetes managed by Dynatrace Davis - YouTube](https://www.youtube.com/watch?v=gndETQ2E6CA&list=PLqt2rd0eew1YFx9m8dBFSiGYSBcDuWG38&index=28&t=2318s)

He has used an OOM metric on his dashboard, but it can be come from log.kuberenets event also. Maybe he has more info about these mysterious kubernetes metrics.

Br, Mizső

---

<div class="post-metadata">

**Author:** ![florian\_g](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/florian_g/32/12081_2.png) [@florian\_g](https://community.dynatrace.com/u/florian_g)\
**Post date:** [July 13, 2022, 3:57pm UTC](https://community.dynatrace.com/t/difference-between-two-kubernetes-built-in-metrics/35810/5 "2022-07-13T15:57:54Z")

</div>

Hi everyone,  
we are introducing (and deprecating) multiple metrics in the Kubernetes area with the upcoming versions of our product. The metrics starting with builtin:kubernetes, are already a first sign for this. I’ve just published a community post with lots of details on this [here](https://community.dynatrace.com/topic/190534).  
Happy to answer any questions on that over there 🙂  
Best,

Florian

---

<div class="post-metadata">

**Author:** ![mizso74](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/mizso74/32/41729_2.png) [@mizso74](https://community.dynatrace.com/u/mizso74)\
**Post date:** [July 13, 2022, 4:04pm UTC](https://community.dynatrace.com/t/difference-between-two-kubernetes-built-in-metrics/35810/6 "2022-07-13T16:04:57Z")

</div>

Hi Florian,

Thanks for the clarifiaction. It’s clear now. Will these new metric set be the base of the coming separate Kubernetes anomaly detection settings?

Br, Mizső

---

<div class="post-metadata">

**Author:** ![MariusNicolae](https://avatars.discourse-cdn.com/v4/letter/m/bc79bd/32.png) [@MariusNicolae](https://community.dynatrace.com/u/MariusNicolae)\
**Post date:** [July 13, 2022, 4:05pm UTC](https://community.dynatrace.com/t/difference-between-two-kubernetes-built-in-metrics/35810/7 "2022-07-13T16:05:01Z")

</div>

Hi Florian,

Thank you for clearing this up!

P.S: my head already hurts thinking about having to migrate custom events for alerting from the old metrics to the new ones 🙂

Thank you!

Best regards.

---

<div class="post-metadata">

**Author:** ![florian\_g](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/florian_g/32/12081_2.png) [@florian\_g](https://community.dynatrace.com/u/florian_g)\
**Post date:** [July 18, 2022, 2:12pm UTC](https://community.dynatrace.com/t/difference-between-two-kubernetes-built-in-metrics/35810/8 "2022-07-18T14:12:54Z")

</div>

Hi&nbsp;[@MariusNicolae](https://community.dynatrace.com/user/46046)&nbsp;- I can understand. sorry for the inconvenience - we really tried hard to come up with some auto-migration, but with the new formats/dimensions, we could not find a reliable way of doing so.  
On the positive side: Did you check out the “[metric audit tool](https://metricaudit.services.dynatrace.com/)” mentioned in my [other post](https://community.dynatrace.com/topic/190534)? This hopefully helps you a lot with this task - if not, feedback is appreciated 🙂&nbsp;  
Best  
florian

---

<div class="post-metadata">

**Author:** ![florian\_g](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/florian_g/32/12081_2.png) [@florian\_g](https://community.dynatrace.com/u/florian_g)\
**Post date:** [July 18, 2022, 2:14pm UTC](https://community.dynatrace.com/t/difference-between-two-kubernetes-built-in-metrics/35810/9 "2022-07-18T14:14:58Z")

</div>

Hi&nbsp;[@Mizső](https://community.dynatrace.com/user/47783)&nbsp;- absolutely correct. The upcoming improvements for K8s anomaly detection are based on these new metrics.&nbsp;  
best  
florian

---

<div class="post-metadata">

**Author:** ![mizso74](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/mizso74/32/41729_2.png) [@mizso74](https://community.dynatrace.com/u/mizso74)\
**Post date:** [July 18, 2022, 3:45pm UTC](https://community.dynatrace.com/t/difference-between-two-kubernetes-built-in-metrics/35810/10 "2022-07-18T15:45:33Z")

</div>

Hi Florian,

When can we expect this new K8s anomaly detection feature in GA? Which managed version? If it is a public info…

Br, Mizső

---

<div class="post-metadata">

**Author:** ![MariusNicolae](https://avatars.discourse-cdn.com/v4/letter/m/bc79bd/32.png) [@MariusNicolae](https://community.dynatrace.com/u/MariusNicolae)\
**Post date:** [July 19, 2022, 1:10pm UTC](https://community.dynatrace.com/t/difference-between-two-kubernetes-built-in-metrics/35810/11 "2022-07-19T13:10:42Z")

</div>

Hi Florian,

I gave the tool a try and while the dashboard part is right the alerting doesn’t seem to be working, at least not in my environment, I have set up a few custom events for alerting using the metrics and on the report they did not show up

 ![MariusNicolae_0-1658236050707.png](https://global.discourse-cdn.com/dynatrace/original/3X/4/2/426b64659e9e6b2cd1208da5c7c8f4bc07d533ab.png)

I have a few alerts that all use the same metric but with different tags and none of these got picked up by the tool

 ![MariusNicolae_1-1658236201222.png](https://global.discourse-cdn.com/dynatrace/original/3X/e/b/eb09b6dd9333db87856b4b3d6ecec66bd8715010.png)

Is the alerts part not about the custom alerts that are defined?

Thank you!

Best regards.

---

<div class="post-metadata">

**Author:** ![florian\_g](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/florian_g/32/12081_2.png) [@florian\_g](https://community.dynatrace.com/u/florian_g)\
**Post date:** [July 19, 2022, 1:12pm UTC](https://community.dynatrace.com/t/difference-between-two-kubernetes-built-in-metrics/35810/12 "2022-07-19T13:12:14Z")

</div>

Hi Mizső - it’s planned for later this year and has very high prio internally - so I’d hope this plan holds 🙂 There’s no fixed GA version yet.  
Best,  
Florian

---

<div class="post-metadata">

**Author:** ![florian\_g](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/florian_g/32/12081_2.png) [@florian\_g](https://community.dynatrace.com/u/florian_g)\
**Post date:** [July 21, 2022, 9:43am UTC](https://community.dynatrace.com/t/difference-between-two-kubernetes-built-in-metrics/35810/13 "2022-07-21T09:43:26Z")

</div>

Hi&nbsp;[@MariusNicolae](https://community.dynatrace.com/user/46046)&nbsp;,

as you mentioned, this should work for custom alerts as shown in your screenshot. However,&nbsp;  
the builtin:cloud.kubernetes.cluster.readyz and&nbsp;builtin:cloud.kubernetes.node.conditions&nbsp;metric are likely updated with AG 1.249 (engineering is currently looking into that), which is why bot of them are not yet mentioned [here](https://community.dynatrace.com/post/190534)&nbsp;- consequently, both of them are also not yet part of the tool. Could you please try again with a custom alert based on any of the mentioned metrics from [here](https://community.dynatrace.com/post/190534).

best  
florian
