We would like to only monitor 50% of PODs in our Kubernetes test environment where there are multiple provisonings happening in a single day. I know that we can disable POD/Container monitoring from the settings menu by namespace, name or ID, but this is static.
Is there a way to dynamically configure Dynatrace only to monitor a percentage of PODs in a given time? I've checked API documentation but I've only seen monitoring configuration on a host basis.
No, it is not possible to tell dynatrace to monitor only a certain percentage of pods.
If it's a multi node cluster you could use a selector in the operator to roll out the agent only to 50% of your worker nodes though.