Skip to content

Commit

Permalink
fix alert panel, descriptions (#1097)
Browse files Browse the repository at this point in the history
  • Loading branch information
Caleb-Hurshman authored Nov 3, 2023
1 parent 6acda51 commit a8de721
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
10 changes: 5 additions & 5 deletions apache-hbase-mixin/alerts/alerts.libsonnet
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
summary: 'There is a limited amount of heap memory available to the JVM.',
description:
(
'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'
'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'
) % $._config,
},
},
Expand All @@ -34,7 +34,7 @@
summary: 'One or more RegionServer(s) has become unresponsive.',
description:
(
'{{$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}}'
'{{$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}}'
) % $._config,
},
},
Expand All @@ -51,7 +51,7 @@
summary: 'RegionServers are in transition for longer than expected.',
description:
(
'{{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'
'{{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'
) % $._config,
},
},
Expand All @@ -68,7 +68,7 @@
summary: 'A high percentage of authentication attempts to the master are failing.',
description:
(
'{{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'
'{{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'
) % $._config,
},
},
Expand All @@ -85,7 +85,7 @@
summary: 'A high percentage of authentication attempts to a RegionServer are failing.',
description:
(
'{{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'
'{{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'
) % $._config,
},
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -395,7 +395,7 @@ local alertsPanel = {
title: 'Alerts',
description: 'Panel to report on the status of integration alerts.',
options: {
alertInstanceLabelFilter: '{job=~"${job:regex}", hbase_cluster=~"${hbase_cluster:regex}", instance=~"${instance:regex}"}',
alertInstanceLabelFilter: '{job=~"${job:regex}", hbase_cluster=~"${hbase_cluster:regex}"}',
alertName: '',
dashboardAlerts: false,
folder: '',
Expand Down

0 comments on commit a8de721

Please sign in to comment.