You are deploying Prometheus in a Kubernetes cluster and need to ensure it discovers pods labeled 'app=frontend'. Which configuration block is required?
kubernetes_sd_configs allows Prometheus to interface with the Kubernetes API for dynamic discovery.
Why this answer
kubernetes_sd_configs is the standard mechanism to discover pods dynamically.