Skip to main content

Service monitor

Enable serviceMonitor when you are using the Prometheus Operator to monitor your vCluster instance. Prometheus handles scraping & aggregating metrics (in the case of high availability), and provides a query engine. Visualization tools such as Grafana can then use Prometheus as a data source to graph / monitor / alert the vCluster control plane.

When enabled, vCluster exposes metrics over HTTPS at a /metrics endpoint.

Config reference​

serviceMonitor required object pro​

ServiceMonitor can be used to automatically create a service monitor for vCluster deployment itself.

enabled required boolean false pro​

Enabled configures if Helm should create the service monitor.

labels required object {} pro​

Labels are the extra labels to add to the service monitor.

annotations required object {} pro​

Annotations are the extra annotations to add to the service monitor.