We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 68c112b commit bab5e1fCopy full SHA for bab5e1f
syncserver-db-common/src/error.rs
@@ -51,10 +51,10 @@ impl ReportableError for MysqlError {
51
fn metric_label(&self) -> Option<String> {
52
Some(
53
match self.kind {
54
- MysqlErrorKind::DieselQuery(_) => "diesel_query",
55
- MysqlErrorKind::DieselConnection(_) => "diesel_connection",
56
- MysqlErrorKind::Pool(_) => "pool",
57
- MysqlErrorKind::Migration(_) => "migration",
+ MysqlErrorKind::DieselQuery(_) => "storage.mysql.error.diesel_query",
+ MysqlErrorKind::DieselConnection(_) => "storage.mysql.error.diesel_connection",
+ MysqlErrorKind::Pool(_) => "storage.mysql.error.pool",
+ MysqlErrorKind::Migration(_) => "storage.mysql.error.migration",
58
}
59
.to_string(),
60
)
0 commit comments