Skip to content

Examples

Which example see at the first time

This topic should help you to chose which example you need to see firstly.

ServiceMonitor

Custom resource which allow declaratively specify how for collect metrics from services.

ServiceMonitor use a label selector to select Service and their Endpoint objects. It means that for collect metrics with using ServiceMonitor config your service deploy should have Service and any deploy config.

The Operator automatically generates Prometheus/api/v1/label//values scrape configuration based on the definition.

PodMonitor

Custom resource which allow declaratively specify how for collect metrics from pods. The Operator automatically generates Prometheus/api/v1/label//values scrape configuration based on the definition.

PrometheusRule

Custom resource which allow declaratively specify rules for AlertManager for alerting.

GrafanaDashboard

Custom resource which allow specifying grafana dashboard json with name and list of plugins (or link to download this dashboard). The Grafana Operator automatically import all found dashboards to Grafana.

GrafanaDataSource

Custom resource which allow specifying grafana datasources. The Grafana Operator automatically import all found datasources in current namespace to Grafana.

Simple examples

Complex examples