title: Prometheus config to ignore scraping of metrics for a specific namespace in Kubernetes
body: <p>Is there a way to configure prometheus to ignore scraping metrics for all the resources belonging to a particular namespace? I am not able to figure it out by reading the documentation.</p>