# DPS Kubernetes monitoring

**URL:** <https://community.dynatrace.com/t/dps-kubernetes-monitoring/44325>\
**Category:** Container platforms\
**Tags:** dps, kubernetes, licensing\
**Created:** [February 27, 2024, 7:57am UTC](https://community.dynatrace.com/t/dps-kubernetes-monitoring/44325 "2024-02-27T07:57:54Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Pedro\_Marce](https://avatars.discourse-cdn.com/v4/letter/p/8e8cbc/32.png) [@Pedro\_Marce](https://community.dynatrace.com/u/Pedro_Marce)\
**Post date:** [February 27, 2024, 7:57am UTC](https://community.dynatrace.com/t/dps-kubernetes-monitoring/44325/1 "2024-02-27T07:57:54Z")

</div>

Hi,

I am trying to get my head around of what I need to use as a way to calculate in DPS my consumption.

All deployment is a set of kuberneted clusters deployed in GCP in GKE, currently monitored as full stack at host level (tried cloud native but we had lots of issues with logs and others).

In DPS, our plan is to enable kubernetes monitoring with the new container monitoring, that should give us the very nice new kubernetes app and all monitoring of the cluster, but my understanding is that would not give us any application observability, for that we would need to deploy the operator in full stack or cloud native mode.

Ideally we would like to deploy it as cloud native, only enabling those namespaces where our code reside to limit costs, is this a good practice? Are we giving away any functionality by doing so? When we tried in the past logs were not ingested automatically and we had to ingest them via fluentd or external methods, while configuring it as full stack was processing correctly the logs.

How would we assess the costs, container monitoring would be clear, if we go full stack is clear too, all cluster nodes based on memory, with the cloud native option, every pod would be consider as a host as full stack?

If anyone has a similar setup and could share their deployment would be very much appreciated to understand what would be the cost simulation moving to DPS.

Thanks,

---

<div class="post-metadata">

**Author:** ![PacoPorro](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/pacoporro/32/36087_2.png) [@PacoPorro](https://community.dynatrace.com/u/PacoPorro)\
**Post date:** [February 27, 2024, 8:16am UTC](https://community.dynatrace.com/t/dps-kubernetes-monitoring/44325/2 "2024-02-27T08:16:01Z")

</div>

Hi

Definitely, Cloud Native Full Stack is the best approach in your situation, logs can also be added using this deployment

Current limitations:&nbsp;[How it works — Dynatrace Docs](https://docs.dynatrace.com/docs/shortlink/how-it-works-k8s#cloud-native-limitations)

To see how to filter for selected namespaces, check:

> **[Configure monitoring for namespaces and pods](https://docs.dynatrace.com/docs/ingest-from/setup-on-k8s/guides/deployment-and-configuration/monitoring-and-instrumentation/annotate)**
>
> Configure monitoring for namespaces and pods

Regarding licensing please check&nbsp;[Container Observability overview (DPS) — Dynatrace Docs](https://docs.dynatrace.com/docs/shortlink/dps-containers), but I would recommend you to contact your Dynatrace sales team to help with this.

---

<div class="post-metadata">

**Author:** ![Pedro\_Marce](https://avatars.discourse-cdn.com/v4/letter/p/8e8cbc/32.png) [@Pedro\_Marce](https://community.dynatrace.com/u/Pedro_Marce)\
**Post date:** [February 27, 2024, 8:49am UTC](https://community.dynatrace.com/t/dps-kubernetes-monitoring/44325/3 "2024-02-27T08:49:21Z")

</div>

Thanks for your reply.

Sales team redirected me here to clarify some questions, so it would help if someone would clarify.

Am I correct assuming that in that scenario I would be paying container monitoring based on the total number of pods in my cluster, plus full stack monitoring for the memory used in the namespaces I am monitoring?

Thanks,

---

<div class="post-metadata">

**Author:** ![erh\_inetum](https://avatars.discourse-cdn.com/v4/letter/e/48db29/32.png) [@erh\_inetum](https://community.dynatrace.com/u/erh_inetum)\
**Post date:** [August 27, 2024, 11:22am UTC](https://community.dynatrace.com/t/dps-kubernetes-monitoring/44325/4 "2024-08-27T11:22:26Z")

</div>

Hi Pedro,  
Not exactly as far as I know.  
You would pay container monitoring based on the pods you monitor, not for all.  
When label “[dynatrace.com/inject=true](http://dynatrace.com/inject=true)” is configured for specific namespaces, it enables deep monitoring for those namespaces and only the pods within these labeled namespaces will have the OneAgent injected and will be considered for billing based on the pod/hour usage.

Hope it helps.  
Regards,  
Elena.
