Shield Health Metrics
Cluster Shield exposes metrics related to its operational health. You can use Prometheus to collect these metrics and monitor the status of Cluster Shield in your environments, ensuring continuous protection and visibility.
Prerequisites
- Cluster Shield 1.9.0 or later installed. Earlier versions of Cluster Shield do not expose health metrics.
- To populate the
Cluster-Shield Monitoring
dashboard in Sysdig Monitor with metrics, ensure Prometheus is enabled in yourvalues.yaml
file:
features:
monitor:
prometheus:
enabled: true
Health Metrics Available
Cluster Shield exposes health metrics through the /metrics
endpoint on port 8080
.
Collect Health Metrics
To enable Prometheus to scrape health metrics from Cluster Shield, use the following annotation in the values.yaml
configuration file:
cluster:
pod_annotations:
prometheus.io/scrape: 'true'
prometheus.io/port: '8080'
prometheus.io/path: '/metrics'
Once the annotation is applied, Prometheus scrapes these metrics using the specified endpoint and port.
View Metrics
Sysdig Monitor
To view Cluster Shield health metrics, and check Prometheus is successfully scraping the metrics:
- Log in to Monitor.
- Go to Dashboards > Dashboards Manager.
- Locate the dashboard
Cluster-Shield Monitoring
. You can utilize the search bar. - Select the dashboard.
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.