# How to differentiate Kubernetes metrics collected using OneAgent vs Prometheus in Dynatrace?

**URL:** <https://community.dynatrace.com/t/how-to-differentiate-kubernetes-metrics-collected-using-oneagent-vs-prometheus-in-dynatrace/36329>\
**Category:** Container platforms\
**Tags:** dynatrace-managed, prometheus, kubernetes\
**Created:** [August 24, 2022, 2:53pm UTC](https://community.dynatrace.com/t/how-to-differentiate-kubernetes-metrics-collected-using-oneagent-vs-prometheus-in-dynatrace/36329 "2022-08-24T14:53:17Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![SE](https://avatars.discourse-cdn.com/v4/letter/s/838e76/32.png) [@SE](https://community.dynatrace.com/u/SE)\
**Post date:** [August 24, 2022, 2:53pm UTC](https://community.dynatrace.com/t/how-to-differentiate-kubernetes-metrics-collected-using-oneagent-vs-prometheus-in-dynatrace/36329/1 "2022-08-24T14:53:17Z")

</div>

Could someone advise me on how to validate and differentiate the metrics collected by OneAgent and Prometheus from the Kubernetes cluster in Data Explorer in Dynatrace?

---

<div class="post-metadata">

**Author:** ![SE](https://avatars.discourse-cdn.com/v4/letter/s/838e76/32.png) [@SE](https://community.dynatrace.com/u/SE)\
**Post date:** [August 25, 2022, 12:39pm UTC](https://community.dynatrace.com/t/how-to-differentiate-kubernetes-metrics-collected-using-oneagent-vs-prometheus-in-dynatrace/36329/2 "2022-08-25T12:39:34Z")

</div>

Please help me on my query. I am struck with my POC.

---

<div class="post-metadata">

**Author:** ![DanielS](https://avatars.discourse-cdn.com/v4/letter/d/3ab097/32.png) [@DanielS](https://community.dynatrace.com/u/DanielS)\
**Post date:** [August 25, 2022, 1:14pm UTC](https://community.dynatrace.com/t/how-to-differentiate-kubernetes-metrics-collected-using-oneagent-vs-prometheus-in-dynatrace/36329/3 "2022-08-25T13:14:30Z")

</div>

I try to summarize several recommendations:

I recommend you to use the Kubernetes Monitoring Statistics Dashboard

 ![DanielS_0-1661432397667.png](https://global.discourse-cdn.com/dynatrace/original/3X/b/2/b2f774f62596c0b99f0d84022da989c688d1ec81.png)

You can check there the /metrics scrapping process is working fine. Also have in mind that this integration supports only the counter and gauge Prometheus metric types&nbsp;.

From Data Explorer:

 ![DanielS_1-1661432948099.png](https://global.discourse-cdn.com/dynatrace/original/3X/a/1/a19b34a3cc0eafc57c396bbc37abef5b894d9859.png)

Also in Consumption- Davis data units select Metrics and check the metrics consuming DDU, because OA metrics don’t consume DDU’s.

Here you can check [How to Monitor Prometheus Metrics](https://www.dynatrace.com/support/help/shortlink/monitor-prometheus-metrics)

---

<div class="post-metadata">

**Author:** ![SE](https://avatars.discourse-cdn.com/v4/letter/s/838e76/32.png) [@SE](https://community.dynatrace.com/u/SE)\
**Post date:** [September 7, 2022, 7:16am UTC](https://community.dynatrace.com/t/how-to-differentiate-kubernetes-metrics-collected-using-oneagent-vs-prometheus-in-dynatrace/36329/4 "2022-09-07T07:16:44Z")

</div>

Hi Daniel,

I am using node exporter to scrape the metrics from kubernetes to dynatrace. As suggested I tried to look for the data in data explorer for Prometheus metrics as mentioned in your post . I am not receiving any data.

Hope&nbsp; kubernetes monitoring statistics extension has to deploy in the tenant to get that&nbsp; dashboard. Am I Right? If so I tried to upload the extension in the Dynatrace tenant -\>Settings- \>custom extension section but unable to do so , receiving error like “Could not connect to the server. try again later”.

Please advise.

---

<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:** [September 7, 2022, 9:34am UTC](https://community.dynatrace.com/t/how-to-differentiate-kubernetes-metrics-collected-using-oneagent-vs-prometheus-in-dynatrace/36329/5 "2022-09-07T09:34:47Z")

</div>

Hi SE,

In metrics browser you can check it. metrics are collected by one agent always start with builtin:, other ingested metrics has a different beginning (name), see the consumtion / metrics from demo environment:

 ![Mizs_0-1662543134320.png](https://global.discourse-cdn.com/dynatrace/original/2X/d/da670ca34b532ae19529418ef7f39292303e2d5f.png)

I haven’t configured prometheus metrics collection form Kubernetes so I do not konow the excat beginning (name) of these kind of metrics.

Br, Mizső

---

<div class="post-metadata">

**Author:** ![SE](https://avatars.discourse-cdn.com/v4/letter/s/838e76/32.png) [@SE](https://community.dynatrace.com/u/SE)\
**Post date:** [September 7, 2022, 1:10pm UTC](https://community.dynatrace.com/t/how-to-differentiate-kubernetes-metrics-collected-using-oneagent-vs-prometheus-in-dynatrace/36329/6 "2022-09-07T13:10:51Z")

</div>

Any other suggestions how to observe the prometheus metrics in Dynatrace for node exporter in kubernetes. If so how I can differentiate it whether metrics data get collected from oneagent or Prometheus in Dynatrace

---

<div class="post-metadata">

**Author:** ![mreider](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/mreider/32/14971_2.png) [@mreider](https://community.dynatrace.com/u/mreider)\
**Post date:** [March 28, 2023, 12:32pm UTC](https://community.dynatrace.com/t/how-to-differentiate-kubernetes-metrics-collected-using-oneagent-vs-prometheus-in-dynatrace/36329/7 "2023-03-28T12:32:13Z")

</div>

I’d like to refer you to this feedback thread if you have more input.

> **[Login | Dynatrace](https://sso.dynatrace.com/action/signin?goto=https%3A%2F%2Fsso.dynatrace.com%3A443%2Foauth2%2Fauthorize%2Fredirect%3FoAuth2CtxUuid%3Da141f236-8720-42c3-abd7-e73e51700790&oAuth2RedirectUri=https%3A%2F%2Fcommunity.dynatrace.com%2Fauth%2Foauth2callback)**
