OneAgent monitors all the namespace including Dynatrace namespace where OneAgent is installed.
1). We are getting unwanted logs of oneAgent and other namespace containers and pods.
2). We are unwanted monitoring the namespace and containers , pods , infrasture details etc.
How to restrict oneAgent to monitored a specific namespace in dynakube.YAML
By default, Dynatrace Operator injects OneAgent into all namespaces, with the following exceptions:
There are more configuration options:
namespaceSelector the parameter in the DynaKube custom resource, and enable monitoring for specific namespaces that have the chosen label.
Read more at: