kubernetes-training

Prometheus server

  1. Retrivial :pull service data
  2. Storage : stores metric data
  3. HTTP server: accepts queries

    Target and Metrics

What units are monitored of those targets?

Metrics

How prometheus pull metrics data from target?

Gauges

Prometheus operator

  1. Custom resources:
    • Alert Manager
    • Prometheus rule
    • Alertmanger config
    • service monitor
    • pod monitor

Exporter

3 components:

helm show values prometheus-community/prometheus-mongodb-exporter > values.yaml

-> command to make edit to the exporter

after making edit, run

helm install mongodb-exporter prometheus-community/prometheus-mongodb-exporter -f values.yaml