Skip to content

Commit 356d4fb

Browse files
update links, fix conversion (#1096)
1 parent fb15834 commit 356d4fb

File tree

3 files changed

+27
-27
lines changed

3 files changed

+27
-27
lines changed

apache-hbase-mixin/README.md

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ The Apache HBase mixin contains the following dashboards:
1111
and the following alerts:
1212

1313
- HBaseHighHeapMemUsage
14-
- HBaseHighNonHeapMemUsage
1514
- HBaseDeadRegionServer
1615
- HBaseOldRegionsInTransition
1716
- HBaseHighMasterAuthFailureRate
@@ -28,12 +27,13 @@ The Apache HBase RegionServer overview dashboard provides details on data region
2827

2928
![First screenshot of the Apache HBase RegionServer overview dashboard](https://storage.googleapis.com/grafanalabs-integration-assets/apache-hbase/screenshots/apache_hbase_region_server_overview_1.png)
3029
![Second screenshot of the Apache HBase RegionServer overview dashboard](https://storage.googleapis.com/grafanalabs-integration-assets/apache-hbase/screenshots/apache_hbase_region_server_overview_2.png)
30+
![Third screenshot of the Apache HBase RegionServer overview dashboard](https://storage.googleapis.com/grafanalabs-integration-assets/apache-hbase/screenshots/apache_hbase_region_server_overview_3.png)
3131

3232

3333
## Apache HBase logs
3434
The Apache HBase logs dashboard provides details on incoming system logs.
3535

36-
![First screenshot of the Apache HBase logs dashboard](https://storage.googleapis.com/grafanalabs-integration-assets/apache-hbase/screenshots/apache_hbase_logs_1.png)
36+
![First screenshot of the Apache HBase logs dashboard](https://storage.googleapis.com/grafanalabs-integration-assets/apache-hbase/screenshots/apache_hbase_logs_overview_1.png)
3737

3838
Apache HBase system logs are enabled by default in the `config.libsonnet` and can be removed by setting `enableLokiLogs` to `false`. Then run `make` again to regenerate the dashboard:
3939

@@ -70,7 +70,6 @@ scrape_configs:
7070
## Alerts overview
7171
7272
- ApacheHBaseHighHeapMemUsage: There is a limited amount of heap memory available to the JVM.
73-
- ApacheHBaseHighNonHeapMemUsage: There is a limited amount of non-heap memory available to the JVM.
7473
- ApacheHBaseDeadRegionServer: One or more RegionServer(s) has become unresponsive.
7574
- ApacheHBaseOldRegionsInTransition: RegionServers are in transition for longer than expected.
7675
- ApacheHBaseHighMasterAuthFailureRate: A high percentage of authentication attempts to the master are failing.
@@ -82,7 +81,6 @@ Default thresholds can be configured in `config.libsonnet`.
8281
{
8382
_config+:: {
8483
alertsHighHeapMemUsage: 80 // percentage
85-
alertsHighNonHeapMemUsage: 80 // percentage
8684
alertsDeadRegionServer: 0 // count
8785
alertsOldRegionsInTransition: 50 // percentage
8886
alertsHighMasterAuthFailRate: 35 // percentage

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

Lines changed: 21 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -89,19 +89,19 @@ local masterStatusHistoryPanel = {
8989
transformations: [],
9090
};
9191

92-
local deadRegionServersPanel = {
92+
local liveRegionServersPanel = {
9393
datasource: promDatasource,
9494
targets: [
9595
prometheus.target(
96-
'server_num_dead_region_servers{job=~"$job", hbase_cluster=~"$hbase_cluster", isactivemaster="true"}',
96+
'server_num_region_servers{job=~"$job", hbase_cluster=~"$hbase_cluster", isactivemaster="true"}',
9797
datasource=promDatasource,
9898
legendFormat='{{hbase_cluster}}',
9999
format='time_series',
100100
),
101101
],
102102
type: 'stat',
103-
title: 'Dead RegionServers',
104-
description: 'Number of RegionServers that are currently dead.',
103+
title: 'Live RegionServers',
104+
description: 'Number of RegionServers that are currently live.',
105105
fieldConfig: {
106106
defaults: {
107107
color: {
@@ -114,10 +114,6 @@ local deadRegionServersPanel = {
114114
{
115115
color: 'green',
116116
},
117-
{
118-
color: 'red',
119-
value: 1,
120-
},
121117
],
122118
},
123119
},
@@ -140,19 +136,19 @@ local deadRegionServersPanel = {
140136
pluginVersion: '10.3.0-62488',
141137
};
142138

143-
local liveRegionServersPanel = {
139+
local deadRegionServersPanel = {
144140
datasource: promDatasource,
145141
targets: [
146142
prometheus.target(
147-
'server_num_region_servers{job=~"$job", hbase_cluster=~"$hbase_cluster", isactivemaster="true"}',
143+
'server_num_dead_region_servers{job=~"$job", hbase_cluster=~"$hbase_cluster", isactivemaster="true"}',
148144
datasource=promDatasource,
149145
legendFormat='{{hbase_cluster}}',
150146
format='time_series',
151147
),
152148
],
153149
type: 'stat',
154-
title: 'Live RegionServers',
155-
description: 'Number of RegionServers that are currently live.',
150+
title: 'Dead RegionServers',
151+
description: 'Number of RegionServers that are currently dead.',
156152
fieldConfig: {
157153
defaults: {
158154
color: {
@@ -165,6 +161,10 @@ local liveRegionServersPanel = {
165161
{
166162
color: 'green',
167163
},
164+
{
165+
color: 'red',
166+
value: 1,
167+
},
168168
],
169169
},
170170
},
@@ -195,12 +195,14 @@ local serversPanel = {
195195
datasource=promDatasource,
196196
legendFormat='{{hbase_cluster}}',
197197
format='table',
198+
instant=true,
198199
),
199200
prometheus.target(
200201
'label_replace(server_num_reference_files{job=~"$job", hbase_cluster=~"$hbase_cluster"}, "region_server_instance", "$1", "instance", "(.+)")',
201202
datasource=promDatasource,
202-
legendFormat='',
203+
legendFormat='{{hbase_cluster}}',
203204
format='table',
205+
instant=true,
204206
),
205207
],
206208
type: 'table',
@@ -412,7 +414,7 @@ local alertsPanel = {
412414
},
413415
};
414416

415-
local jvmMemoryUsagePanel = {
417+
local jvmHeapMemoryUsagePanel = {
416418
datasource: promDatasource,
417419
targets: [
418420
prometheus.target(
@@ -423,8 +425,8 @@ local jvmMemoryUsagePanel = {
423425
),
424426
],
425427
type: 'timeseries',
426-
title: 'JVM memory usage',
427-
description: 'Memory usage for the JVM.',
428+
title: 'JVM heap memory usage',
429+
description: 'Heap memory usage for the JVM.',
428430
fieldConfig: {
429431
defaults: {
430432
color: {
@@ -1102,11 +1104,11 @@ local oldestRegionInTransitionPanel = {
11021104
.addPanels(
11031105
[
11041106
masterStatusHistoryPanel { gridPos: { h: 6, w: 24, x: 0, y: 0 } },
1105-
deadRegionServersPanel { gridPos: { h: 8, w: 5, x: 0, y: 6 } },
1106-
liveRegionServersPanel { gridPos: { h: 8, w: 5, x: 5, y: 6 } },
1107+
liveRegionServersPanel { gridPos: { h: 8, w: 5, x: 0, y: 6 } },
1108+
deadRegionServersPanel { gridPos: { h: 8, w: 5, x: 5, y: 6 } },
11071109
serversPanel { gridPos: { h: 8, w: 14, x: 10, y: 6 } },
11081110
alertsPanel { gridPos: { h: 8, w: 12, x: 0, y: 14 } },
1109-
jvmMemoryUsagePanel { gridPos: { h: 8, w: 12, x: 12, y: 14 } },
1111+
jvmHeapMemoryUsagePanel { gridPos: { h: 8, w: 12, x: 12, y: 14 } },
11101112
connectionsPanel { gridPos: { h: 8, w: 12, x: 0, y: 22 } },
11111113
authenticationsPanel { gridPos: { h: 8, w: 12, x: 12, y: 22 } },
11121114
masterQueueSizePanel { gridPos: { h: 8, w: 12, x: 0, y: 30 } },

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

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,7 @@ local storeFileSizePanel = {
157157
minVizHeight: 10,
158158
minVizWidth: 0,
159159
namePlacement: 'auto',
160-
orientation: 'horizontal',
160+
orientation: 'vertical',
161161
reduceOptions: {
162162
calcs: [
163163
'lastNotNull',
@@ -226,7 +226,7 @@ local jvmHeapMemoryUsagePanel = {
226226
prometheus.target(
227227
'jvm_metrics_mem_heap_used_m{job=~"$job", hbase_cluster=~"$hbase_cluster", instance=~"$instance", processname="RegionServer"} / clamp_min(jvm_metrics_mem_heap_committed_m{job=~"$job", hbase_cluster=~"$hbase_cluster", instance=~"$instance", processname="RegionServer"}, 1)',
228228
datasource=promDatasource,
229-
legendFormat='{{instance}} - heap',
229+
legendFormat='{{instance}}',
230230
format='time_series',
231231
),
232232
],
@@ -730,7 +730,7 @@ local storeFileCountPanel = {
730730
},
731731
};
732732

733-
local storeFileSizePanel = {
733+
local storeFileSizeTimeseriesPanel = {
734734
datasource: promDatasource,
735735
targets: [
736736
prometheus.target(
@@ -1289,7 +1289,7 @@ local authenticationsPanel = {
12891289
regionCountPanel { gridPos: { h: 8, w: 12, x: 0, y: 16 } },
12901290
rpcConnectionCountPanel { gridPos: { h: 8, w: 12, x: 12, y: 16 } },
12911291
storeFileCountPanel { gridPos: { h: 8, w: 12, x: 0, y: 24 } },
1292-
storeFileSizePanel { gridPos: { h: 8, w: 12, x: 12, y: 24 } },
1292+
storeFileSizeTimeseriesPanel { gridPos: { h: 8, w: 12, x: 12, y: 24 } },
12931293
queuedCallsPanel { gridPos: { h: 8, w: 12, x: 0, y: 32 } },
12941294
slowOperationsPanel { gridPos: { h: 8, w: 12, x: 12, y: 32 } },
12951295
cacheHitPercentagePanel { gridPos: { h: 8, w: 12, x: 0, y: 40 } },

0 commit comments

Comments
 (0)