caas-team / sparrow

A monitoring tool to gather infrastructure network information
Apache License 2.0
6 stars 4 forks source link

feat: Service Monitor #69

Closed niklastreml closed 8 months ago

niklastreml commented 8 months ago

Motivation

Since we're exposing metrics for prometheus, we should also provide a ServiceMonitor, so people who are using the prometheus operator can easily monitor their sparrow instance.

Closes #52

Changes

This PR adds a serviceMonitor to the helm chart, which can optionally be enabled.

For additional information look at the commits.

Tests done

  1. Installed sparrow with the default helm chart in a local kind cluster
  2. Rolled out kube-prometheus-stack
  3. Provisioned a prometheus instance
  4. Enabled the serviceMonitor
  5. Profit image

    TODO