-
Notifications
You must be signed in to change notification settings - Fork 45
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(runner/metrics): Add metric broker #1496
Conversation
This reverts commit ca0034a.
a3f49cf
to
590a562
Compare
} | ||
|
||
// With initializes a new LabelBuilder. | ||
func (b *Broker) With() LabelBuilder { |
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.
nit: In rust this would be named
func (b *Broker) With() LabelBuilder { | |
func (b *Broker) Builder() LabelBuilder { |
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 went for this because it allows using the api like so b.With().Stream(123).Input("rtmp://1.2.3.4/src")
, which is shorter and quite naturally readable
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.
LGTM once you have checked if the two nits are something or just false postives from FrankLint2000™️
depends on #1494, merge after.
Motivation and Context
Description
Steps for Testing
only code review