-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Add configuration to enrich Nexus operation metrics #7311
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 configuration to enrich Nexus operation metrics #7311
Conversation
3bf0a48 to
a23d333
Compare
bergundy
left a comment
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.
Thanks! Left a few small comments.
service/frontend/service.go
Outdated
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.
This cache doesn't add anything here, it's just the identity function. Why not just use the typed setting directly?
Oops, sorry, Roey reminded me that it does avoid the mapstructure conversion, which is a small win if you need it.
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 included it following this comment. #7311 (comment)
So the cache is only for the conversion?
Co-authored-by: Roey Berman <roey.berman@gmail.com>
Co-authored-by: David Reiss <dnr@dnr.im>
152f444 to
fd29e34
Compare
What changed?
Add configuration that controls which additional metric tags are included with Nexus operation metrics