-
Notifications
You must be signed in to change notification settings - Fork 91
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
Conversation
…ved unused fmt import from config/config.go
There was a problem hiding this 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
pkg/client/run.go
Outdated
@@ -35,6 +39,15 @@ import ( | |||
|
|||
// Run runs the event loop processing with given handler | |||
func Run(conf *config.Config) { | |||
metricsPort := ":2112" |
There was a problem hiding this comment.
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?
There was a problem hiding this comment.
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
Tests performed