Skip to content

Commit a8de721

Browse files
fix alert panel, descriptions (#1097)
1 parent 6acda51 commit a8de721

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

apache-hbase-mixin/alerts/alerts.libsonnet

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
summary: 'There is a limited amount of heap memory available to the JVM.',
1818
description:
1919
(
20-
'The heap memory usage for the JVM on instance {{$labels.instance}} in cluster {{$labels.hbase_cluster}} is {{printf "%%.0f" $labels.value}} percent, which is above the threshold of %(alertsHighHeapMemUsage)s percent'
20+
'The heap memory usage for the JVM on instance {{$labels.instance}} in cluster {{$labels.hbase_cluster}} is {{printf "%%.0f" $value}} percent, which is above the threshold of %(alertsHighHeapMemUsage)s percent'
2121
) % $._config,
2222
},
2323
},
@@ -34,7 +34,7 @@
3434
summary: 'One or more RegionServer(s) has become unresponsive.',
3535
description:
3636
(
37-
'{{$labels.value}} RegionServer(s) in cluster {{$labels.hbase_cluster}} are unresponsive, which is above the threshold of %(alertsDeadRegionServer)s. The name(s) of the dead RegionServer(s) are {{$labels.deadregionservers}}'
37+
'{{$value}} RegionServer(s) in cluster {{$labels.hbase_cluster}} are unresponsive, which is above the threshold of %(alertsDeadRegionServer)s. The name(s) of the dead RegionServer(s) are {{$labels.deadregionservers}}'
3838
) % $._config,
3939
},
4040
},
@@ -51,7 +51,7 @@
5151
summary: 'RegionServers are in transition for longer than expected.',
5252
description:
5353
(
54-
'{{printf "%%.0f" $labels.value}} percent of RegionServers in transition in cluster {{$labels.hbase_cluster}} are transitioning for longer than expected, which is above the threshold of %(alertsOldRegionsInTransition)s percent'
54+
'{{printf "%%.0f" $value}} percent of RegionServers in transition in cluster {{$labels.hbase_cluster}} are transitioning for longer than expected, which is above the threshold of %(alertsOldRegionsInTransition)s percent'
5555
) % $._config,
5656
},
5757
},
@@ -68,7 +68,7 @@
6868
summary: 'A high percentage of authentication attempts to the master are failing.',
6969
description:
7070
(
71-
'{{printf "%%.0f" $labels.value}} percent of authentication attempts to the master are failing in cluster {{$labels.hbase_cluster}}, which is above the threshold of %(alertsHighMasterAuthFailRate)s percent'
71+
'{{printf "%%.0f" $value}} percent of authentication attempts to the master are failing in cluster {{$labels.hbase_cluster}}, which is above the threshold of %(alertsHighMasterAuthFailRate)s percent'
7272
) % $._config,
7373
},
7474
},
@@ -85,7 +85,7 @@
8585
summary: 'A high percentage of authentication attempts to a RegionServer are failing.',
8686
description:
8787
(
88-
'{{printf "%%.0f" $labels.value}} percent of authentication attempts to the RegionServer {{$labels.instance}} are failing in cluster {{$labels.hbase_cluster}}, which is above the threshold of %(alertsHighRSAuthFailRate)s percent'
88+
'{{printf "%%.0f" $value}} percent of authentication attempts to the RegionServer {{$labels.instance}} are failing in cluster {{$labels.hbase_cluster}}, which is above the threshold of %(alertsHighRSAuthFailRate)s percent'
8989
) % $._config,
9090
},
9191
},

apache-hbase-mixin/dashboards/apache-hbase-cluster-overview.libsonnet

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -395,7 +395,7 @@ local alertsPanel = {
395395
title: 'Alerts',
396396
description: 'Panel to report on the status of integration alerts.',
397397
options: {
398-
alertInstanceLabelFilter: '{job=~"${job:regex}", hbase_cluster=~"${hbase_cluster:regex}", instance=~"${instance:regex}"}',
398+
alertInstanceLabelFilter: '{job=~"${job:regex}", hbase_cluster=~"${hbase_cluster:regex}"}',
399399
alertName: '',
400400
dashboardAlerts: false,
401401
folder: '',

0 commit comments

Comments
 (0)