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

API server and Prometheus Metrics #10

Merged
merged 9 commits into from
Dec 26, 2022
Merged

API server and Prometheus Metrics #10

merged 9 commits into from
Dec 26, 2022

Conversation

jlevesy
Copy link
Owner

@jlevesy jlevesy commented Dec 26, 2022

What Does This PR do?

This PR sets up an API servers and a metrics endpoint serving notifier and election related metrics.

It also adds readiness and liveness probes to the prometheus-exporter chart.

How to Test This PR?

make run
k port-forward prometheus-elector-dev-0 9095:9095
curl localhost:9095/metrics

Good PR Checklist

  • Addresses one issue
  • Adds/Updates unit tests
  • Adds/Updates the documentation
  • Opened against the right branch
  • Correctly Labeled

@jlevesy jlevesy added the enhancement New feature or request label Dec 26, 2022
@jlevesy jlevesy merged commit 0dcbc36 into main Dec 26, 2022
@jlevesy jlevesy deleted the jl/prometheus-metrics branch December 26, 2022 18:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant