NatronTech Logo
Observability

Monitoring

Availability
Stage
Experimental

Monitoring Overview

Natron Managed Kubernetes Service provides a comprehensive monitoring stack based on the Prometheus Operator. This stack allows you to collect metrics, visualize them in Grafana, and receive alerts via Alertmanager.

Architecture

  • Prometheus: Collects and stores metrics.
  • ServiceMonitor: CRD to define what to monitor (see Service Monitoring).
  • Alertmanager: Handles alerting (see Alerting).
  • Grafana: Visualizes data (see Grafana).

Example Config with Labels

To add custom Prometheus rules, you can use the PrometheusRule CRD.

apiVersion: monitoring.coreos.com/v1
kind: PrometheusRule
metadata:
  name: my-app-rules
  labels:
    role: alert-rules
    app: my-app
spec:
  groups:
  - name: my-app.rules
    rules:
    - alert: ExampleAlert
      expr: vector(1)
      labels:
        severity: warning

Next Steps

On this page