How do I create dashboards for Helm vs Kustomize in Prometheus?

Creating dashboards for Helm and Kustomize in Prometheus involves tracking the metrics generated by applications deployed with these tools. Both Helm and Kustomize have different ways to deploy applications, but Prometheus can be configured to scrape metrics from both.

// Example configurations for Prometheus to scrape metrics from Helm and Kustomize scrape_configs: - job_name: 'helm-app' kubernetes_sd_configs: - role: pod relabel_configs: - source_labels: [__meta_kubernetes_namespace] action: keep regex: helm-namespace - job_name: 'kustomize-app' kubernetes_sd_configs: - role: pod relabel_configs: - source_labels: [__meta_kubernetes_namespace] action: keep regex: kustomize-namespace

devops helm kustomize prometheus dashboards monitoring metrics