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 events count and export metrics #86

Merged
merged 10 commits into from
Sep 20, 2024
Merged

Add events count and export metrics #86

merged 10 commits into from
Sep 20, 2024

Conversation

itisallgood
Copy link
Contributor

@itisallgood itisallgood commented Sep 4, 2024

Tests performed

  • tested on cluster

@itisallgood itisallgood marked this pull request as ready for review September 9, 2024 14:20
@itisallgood itisallgood requested review from Avi-Robusta, arikalon1 and RoiGlinik and removed request for RoiGlinik September 9, 2024 14:20
Copy link
Collaborator

@arikalon1 arikalon1 left a comment

Choose a reason for hiding this comment

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

nice work

Left one comment

@@ -35,6 +39,15 @@ import (

// Run runs the event loop processing with given handler
func Run(conf *config.Config) {
metricsPort := ":2112"
Copy link
Collaborator

Choose a reason for hiding this comment

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

I think a better name for this would be listenAddress or something
I think the format is "host:port"

Would it be better allowing to override it with an environment variable?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yes, sure. I will add environment variable for that

@arikalon1 arikalon1 merged commit 3ae4fb0 into master Sep 20, 2024
1 check passed
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.

3 participants