Configure Alloy to pass upstream tag:2.0.0 validation.yaml (Enable Metrics and Destination, etc)
Alloy 2.0.0 upstream has a validation.yaml changes that requires enabling metrics and configuring a destination for metrics to pass
Enable metric error when running helm template
Error: execution error at (k8s-monitoring/charts/k8s-monitoring/templates/validations.yaml:7:4):
No features are enabled. Please choose a feature to start monitoring. For example:
clusterMetrics:
enabled: true
See https://github.com/grafana/k8s-monitoring-helm/blob/main/charts/k8s-monitoring/docs/Features.md for the list of available features.
helm.go:84: [debug] execution error at (k8s-monitoring/charts/k8s-monitoring/templates/validations.yaml:7:4):
No features are enabled. Please choose a feature to start monitoring. For example:
clusterMetrics:
enabled: true
See https://github.com/grafana/k8s-monitoring-helm/blob/main/charts/k8s-monitoring/docs/Features.md for the list of available features.
Configure Destination Error once a metric has been enabled (for example after enabled clusterMetrics.enabled= true)
Error: execution error at (k8s-monitoring/charts/k8s-monitoring/templates/validations.yaml:9:6):
No destinations found that can accept metrics from Kubernetes Cluster metrics
Please add a destination with metrics support.
See https://github.com/grafana/k8s-monitoring-helm/blob/main/charts/k8s-monitoring/docs/destinations/README.md for more details.
helm.go:84: [debug] execution error at (k8s-monitoring/charts/k8s-monitoring/templates/validations.yaml:9:6):
No destinations found that can accept metrics from Kubernetes Cluster metrics
Please add a destination with metrics support.
See https://github.com/grafana/k8s-monitoring-helm/blob/main/charts/k8s-monitoring/docs/destinations/README.md for more details.