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
fix: add grpc service name to grpc metrics #352
Conversation
Codecov Report
@@ Coverage Diff @@
## main #352 +/- ##
=======================================
Coverage 29.04% 29.04%
=======================================
Files 64 64
Lines 6721 6721
=======================================
Hits 1952 1952
Misses 4552 4552
Partials 217 217
Continue to review full report at Codecov.
|
5a1125c
to
2d08ce1
Compare
@@ -40,7 +40,7 @@ var ( | |||
func GetGlobalTags() map[string]string { | |||
return map[string]string{ | |||
"service": config.DefaultConfig.Tags.Service, | |||
"env": config.GetEnvironment(), | |||
"env": config.DefaultConfig.Tags.Environment, |
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'm actually retracting my stance here with https://github.com/tigrisdata/tigris/pull/349/files as I'm getting rid of the Tags structure in the Config entirely. Not a biggie as I can change it in PR #349 just an FYI.
🎉 This PR is included in version 1.0.0-alpha.23 🎉 The release is available on GitHub release Your semantic-release bot 📦🚀 |
🎉 This PR is included in version 1.0.0-beta.1 🎉 The release is available on GitHub release Your semantic-release bot 📦🚀 |
Load the environment from tags, add grpc_service to grpc request metric tags.