metric collection based on PODs
search cancel

metric collection based on PODs

book

Article ID: 392706

calendar_today

Updated On:

Products

DX APM SaaS

Issue/Introduction

We only like to collect and report metrics from select list of PODs. The current UMA agent behavior is that UMA agent collects POD performance metrics for all PODs in a namespace. Needs some type of Pod Filtering for metrics reporting.  

Resolution

Pod Filtering
UMA Agent is now enhanced to filter pod-level metrics by adding the below annotation to a deployment or pod.
ca.broadcom.com/podmonitoring.enabled=false

This annotation will prevent metrics for the specified pods from being reported. 

For example, kubectl annotate deployment <deployment_name> ca.broadcom.com/podmonitoring.enabled=false -n <namespace> --overwrite