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: add metrics to livestream server #27953

Merged
merged 6 commits into from
Jan 28, 2025
Merged

Conversation

orian
Copy link
Contributor

@orian orian commented Jan 28, 2025

Problem

Our livestream server is observable only through a proxy metrics (e.g. http traffic metrics).

Changes

Add prometheus handler and metrics.
Hide non-production endpoints, don't print debug in production.
Add a little documentation.

Does this work well for both Cloud and self-hosted?

Yes.

How did you test this code?

Run it in docker

Copy link
Contributor

@Daesgar Daesgar left a comment

Choose a reason for hiding this comment

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

Love the new metrics and cleaning! ✔️

livestream/kafka.go Show resolved Hide resolved
livestream/main.go Outdated Show resolved Hide resolved
@orian orian enabled auto-merge (squash) January 28, 2025 13:03
@orian orian merged commit a0945c0 into master Jan 28, 2025
85 checks passed
@orian orian deleted the pawel/feat/livestream-prometheus branch January 28, 2025 13:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants