-
Notifications
You must be signed in to change notification settings - Fork 6
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: add mysql connection metrics #118
Conversation
Codecov Report
@@ Coverage Diff @@
## master #118 +/- ##
==========================================
+ Coverage 76.38% 76.77% +0.38%
==========================================
Files 82 83 +1
Lines 3083 3143 +60
==========================================
+ Hits 2355 2413 +58
- Misses 540 542 +2
Partials 188 188
Continue to review full report at Codecov.
|
* fix(otgorm): metrics missing labels * fix: add with value, extend waiting time
redis connection metrics can be added in another PR. #127 |
observability/observability.go
Outdated
@@ -75,7 +45,7 @@ type configOut struct { | |||
Config []config.ExportedConfig `group:"config,flatten"` | |||
} | |||
|
|||
func provideConfig() configOut { | |||
func exportConfig() configOut { |
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.
Other package export config func name is provideConfig, unified? Which one should we use?
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.
provideConfig. As this is a private function, we can always change it at any point.
No description provided.