We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b0386da commit 68bb22cCopy full SHA for 68bb22c
csp-mixin/signals/azuresqldb.libsonnet
@@ -30,7 +30,7 @@ function(this)
30
type: 'gauge',
31
sources: {
32
azuremonitor: {
33
- expr: 'label_replace(azure_microsoft_sql_servers_databases_deadlock_total_count{%(queriesSelector)s}, "database", "$1", "resourceID", ".+/(.*)")',
+ expr: 'label_replace(max_over_time(azure_microsoft_sql_servers_databases_deadlock_total_count{%(queriesSelector)s}[$__interval]), "database", "$1", "resourceID", ".+/(.*)")',
34
legendCustomTemplate: '{{database}}',
35
},
36
0 commit comments