From 2b44460a3fe1d0b225d6eebb11a29a4e5ae69560 Mon Sep 17 00:00:00 2001 From: Sam Xie Date: Tue, 13 Dec 2022 13:15:28 +0800 Subject: [PATCH] Update docs for instrument names --- README.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index db6c400..5adf4c8 100644 --- a/README.md +++ b/README.md @@ -58,11 +58,11 @@ Use [`SpanOptions`](https://pkg.go.dev/github.com/XSAM/otelsql#SpanOptions) to a | | | | | | method | method name, like `sql.conn.query` | | db.sql.connection.max_open | Maximum number of open connections to the database | | Asynchronous Gauge | int64 | | | | db.sql.connection.open | The number of established connections both in use and idle | | Asynchronous Gauge | int64 | status | idle, inuse | -| db.sql.connection.wait_total | The total number of connections waited for | | Asynchronous Counter | int64 | | | -| db.sql.connection.wait_duration_total | The total time blocked waiting for a new connection | ms | Asynchronous Counter | float64 | | | -| db.sql.connection.closed_max_idle_total | The total number of connections closed due to SetMaxIdleConns | | Asynchronous Counter | int64 | | | -| db.sql.connection.closed_max_idle_time_total | The total number of connections closed due to SetConnMaxIdleTime | | Asynchronous Counter | int64 | | | -| db.sql.connection.closed_max_lifetime_total | The total number of connections closed due to SetConnMaxLifetime | | Asynchronous Counter | int64 | | | +| db.sql.connection.wait | The total number of connections waited for | | Asynchronous Counter | int64 | | | +| db.sql.connection.wait_duration | The total time blocked waiting for a new connection | ms | Asynchronous Counter | float64 | | | +| db.sql.connection.closed_max_idle | The total number of connections closed due to SetMaxIdleConns | | Asynchronous Counter | int64 | | | +| db.sql.connection.closed_max_idle_time | The total number of connections closed due to SetConnMaxIdleTime | | Asynchronous Counter | int64 | | | +| db.sql.connection.closed_max_lifetime | The total number of connections closed due to SetConnMaxLifetime | | Asynchronous Counter | int64 | | | ## Compatibility