From c363033abd0de4b1d89c5218bde569ea5003b9db Mon Sep 17 00:00:00 2001 From: Vasiliy Tolstov Date: Tue, 5 Sep 2023 07:08:08 +0300 Subject: [PATCH] fix label names Signed-off-by: Vasiliy Tolstov --- options.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/options.go b/options.go index 46b5bee..f58ac28 100644 --- a/options.go +++ b/options.go @@ -44,13 +44,13 @@ var ( meterRequestDurationSeconds = "request_duration_seconds" labelUnknown = "unknown" - labelQuery = "db.statement" - labelMethod = "db.method" + labelQuery = "db_statement" + labelMethod = "db_method" labelStatus = "status" labelSuccess = "success" labelFailure = "failure" - labelHost = "db.host" - labelDatabase = "db.name" + labelHost = "db_host" + labelDatabase = "db_name" ) // Options struct holds wrapper options