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

Add Prometheus metrics & endpoint #110

Closed
13 tasks done
thedodd opened this issue Oct 26, 2021 · 0 comments · Fixed by #114
Closed
13 tasks done

Add Prometheus metrics & endpoint #110

thedodd opened this issue Oct 26, 2021 · 0 comments · Fixed by #114
Labels
A-operator Hadron Kubernetes operator A-streams Hadron server streams A-telemetry Hadron server telemetry
Projects

Comments

@thedodd
Copy link
Collaborator

thedodd commented Oct 26, 2021

Stream

  • Expose endpoints on Stream for prom metrics.
  • Gauge of Stream subscribers count.
  • Counter of Stream subscribers last offset processed.
  • Counter of Stream's current offset, which would be used to calculate data ingest rates.
  • Counter of Pipeline's last offset processed.
  • Gauge of active Pipeline instances.
  • Gauge of Pipeline stage subscribers count. This will be used to detect blocked pipelines in conjunction with the gauge of active pipeline instances.

Operator

  • Expose endpoints on Operator for prom metrics.
  • Counter for number of elections / leadership changes.
  • Leadership state.
  • K8s resource watcher errors.

Other

@thedodd thedodd created this issue from a note in Main (In progress) Oct 26, 2021
@thedodd thedodd added A-operator Hadron Kubernetes operator server A-streams Hadron server streams A-telemetry Hadron server telemetry labels Oct 26, 2021
@thedodd thedodd changed the title Add OTEL integration Add Prometheus metrics & endpoint Nov 10, 2021
@thedodd thedodd mentioned this issue Nov 17, 2021
2 tasks
Main automation moved this from In progress to Done Nov 18, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-operator Hadron Kubernetes operator A-streams Hadron server streams A-telemetry Hadron server telemetry
Projects
Main
Done
Development

Successfully merging a pull request may close this issue.

1 participant