Skip to content

Commit 16cc5f7

Browse files
author
maladetska
committed
fix
1 parent 70ca200 commit 16cc5f7

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

src/client/impl/stats/stats.h

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -256,6 +256,12 @@ struct TStatCollector {
256256
})->Inc();
257257
}
258258
if (ExternalRegistry_) {
259+
ExternalRegistry_->Counter(
260+
"db.client.operation.errors",
261+
{{"db.system.name", "other_sql"}, {"db.operation.name", operationName}},
262+
"Number of database client operations that failed.",
263+
"{error}"
264+
);
259265
ExternalRegistry_->Counter(
260266
"db.client.operation.requests",
261267
{{"db.system.name", "other_sql"}, {"db.operation.name", operationName}},

0 commit comments

Comments
 (0)