Skip to content

Commit

Permalink
* Fixed inconsistent labels in metrics
Browse files Browse the repository at this point in the history
  • Loading branch information
asmyasnikov committed Nov 3, 2023
1 parent f9eb62c commit cafc3d2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
* Fixed inconsistent labels in `metrics`

## v3.54.0
* Allowed `sql.LevelSerializable` isolation level in read-write mode in `database/sql` transactions
* Refactored traces and metrics
Expand Down
2 changes: 1 addition & 1 deletion metrics/sql.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ func databaseSQL(config Config) (t trace.DatabaseSQL) {
inflight := config.WithSystem("conns").GaugeVec("inflight")
query := config.CounterVec("query", "status", "query_mode")
queryLatency := config.WithSystem("query").TimerVec("latency", "status", "query_mode")
exec := config.CounterVec("exec", "status", "query_label", "query_mode")
exec := config.CounterVec("exec", "status", "query_mode")
execLatency := config.WithSystem("exec").TimerVec("latency", "status", "query_mode")
txBegin := config.WithSystem("tx").CounterVec("begin", "status")
txCommit := config.WithSystem("tx").CounterVec("commit", "status")
Expand Down

0 comments on commit cafc3d2

Please sign in to comment.