-
Notifications
You must be signed in to change notification settings - Fork 581
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
Removed unneccessary renames for gocql #2795
Removed unneccessary renames for gocql #2795
Conversation
Codecov Report
Additional details and impacted files@@ Coverage Diff @@
## main #2795 +/- ##
=======================================
+ Coverage 69.2% 74.6% +5.4%
=======================================
Files 145 7 -138
Lines 6729 316 -6413
=======================================
- Hits 4661 236 -4425
+ Misses 1952 67 -1885
+ Partials 116 13 -103 |
@@ -203,7 +195,7 @@ func initMetrics() error { | |||
http.Handle("/", promhttp.Handler()) | |||
log.Print("Serving metrics at :2222/") |
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.
log.Print("Serving metrics at :2222/") | |
log.Print("Serving metrics at :2223/") |
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.
The README.md also needs updating if this is changing.
v, err := view.New( | ||
view.MatchInstrumentName("db.cassandra.queries"), | ||
view.WithRename("db_cassandra_queries"), | ||
) |
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.
These "blank action" views could be unified into a single view that matches "*"
This will fix the first set of changes in #2796 |
Closing in favor of #2960. |
The Release of metrics v0.32.1 means that the prometheus names are automatically renamed. This change removes unnecessary renames.
Blocked by open-telemetry/opentelemetry-go#3228, and release.