Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Service Monitor #69

Merged
merged 2 commits into from
Jan 12, 2024
Merged

feat: Service Monitor #69

merged 2 commits into from
Jan 12, 2024

Conversation

niklastreml
Copy link
Collaborator

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

  • I've assigned this PR to myself
  • I've labeled this PR correctly

@niklastreml niklastreml added feature Introduces a new feature area/helm Issues/PRs related to the helm chart labels Jan 12, 2024
@niklastreml niklastreml added this to the 0.3.0 milestone Jan 12, 2024
@niklastreml niklastreml self-assigned this Jan 12, 2024
@niklastreml niklastreml changed the title Feat/prometheus Feat: Service Monitor Jan 12, 2024
@niklastreml niklastreml changed the title Feat: Service Monitor feat: Service Monitor Jan 12, 2024
@niklastreml niklastreml mentioned this pull request Jan 12, 2024
1 task
Copy link
Contributor

@eumel8 eumel8 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@niklastreml niklastreml merged commit 12fcede into main Jan 12, 2024
9 checks passed
@lvlcn-t lvlcn-t deleted the feat/prometheus branch January 12, 2024 20:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/helm Issues/PRs related to the helm chart feature Introduces a new feature
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Feature: Add ServiceMonitors in Helm
3 participants