Skip to content

Commit 239d414

Browse files
sobanerjee-hylandCopilotcezary-witkowski
authored
ACS-9976 Updated Elasticsearch Grafana dashboard for external users. (#3342)
* ACS-9976 document update for ElasticSearch Prometheus metrics * ACS-9976 Adding Grafana Dashboards * ACS-9976 Updated Grafana Dashboard names * ACS-9976 Deleted one Elasticsearch Grafana dashboard * ACS-9976 Updated Elasticsearch Grafana dashboard. * ACS-9976 Updated Elasticsearch Grafana dashboard for external users. * Fix Grafana dashboard version incorrectly decrementing from 3 to 2 (#3343) * Initial plan * Fix dashboard version: increment from 3 to 4 instead of decrementing to 2 Co-authored-by: cezary-witkowski <180301658+cezary-witkowski@users.noreply.github.com> --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: cezary-witkowski <180301658+cezary-witkowski@users.noreply.github.com> --------- Co-authored-by: Copilot <198982749+Copilot@users.noreply.github.com> Co-authored-by: cezary-witkowski <180301658+cezary-witkowski@users.noreply.github.com>
1 parent c085f51 commit 239d414

1 file changed

Lines changed: 94 additions & 17 deletions

File tree

docs/micrometer/Alfresco_Elasticsearch_Indexing_Advanced_View.json

Lines changed: 94 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,47 @@
11
{
2+
"__inputs": [
3+
{
4+
"name": "DS_PROMETHEUS",
5+
"label": "prometheus",
6+
"description": "",
7+
"type": "datasource",
8+
"pluginId": "prometheus",
9+
"pluginName": "Prometheus"
10+
}
11+
],
12+
"__elements": {},
13+
"__requires": [
14+
{
15+
"type": "panel",
16+
"id": "gauge",
17+
"name": "Gauge",
18+
"version": ""
19+
},
20+
{
21+
"type": "grafana",
22+
"id": "grafana",
23+
"name": "Grafana",
24+
"version": "12.3.1"
25+
},
26+
{
27+
"type": "datasource",
28+
"id": "prometheus",
29+
"name": "Prometheus",
30+
"version": "1.0.0"
31+
},
32+
{
33+
"type": "panel",
34+
"id": "stat",
35+
"name": "Stat",
36+
"version": ""
37+
},
38+
{
39+
"type": "panel",
40+
"id": "timeseries",
41+
"name": "Time series",
42+
"version": ""
43+
}
44+
],
245
"annotations": {
346
"list": [
447
{
@@ -18,7 +61,6 @@
1861
"editable": true,
1962
"fiscalYearStartMonth": 0,
2063
"graphTooltip": 0,
21-
"id": 0,
2264
"links": [],
2365
"panels": [
2466
{
@@ -36,7 +78,8 @@
3678
},
3779
{
3880
"datasource": {
39-
"type": "prometheus"
81+
"type": "prometheus",
82+
"uid": "${DS_PROMETHEUS}"
4083
},
4184
"description": "Document indexed in Elasticsearch instances. This number will not include any default documents created during bootstrap unless these have been explicitly re-indexed. Therefore there may be a discrepancy with the number above.",
4285
"fieldConfig": {
@@ -90,7 +133,11 @@
90133
"expr": "elasticsearch_document_count",
91134
"legendFormat": "Total Indexed Documents",
92135
"range": true,
93-
"refId": "A"
136+
"refId": "A",
137+
"datasource": {
138+
"type": "prometheus",
139+
"uid": "${DS_PROMETHEUS}"
140+
}
94141
}
95142
],
96143
"title": "Elasticsearch Total Indexed Documents",
@@ -99,7 +146,7 @@
99146
{
100147
"datasource": {
101148
"type": "prometheus",
102-
"uid": "ffdp68onn7pj4b"
149+
"uid": "${DS_PROMETHEUS}"
103150
},
104151
"description": "Documents that can be indexed using Elasticsearch.",
105152
"fieldConfig": {
@@ -153,7 +200,11 @@
153200
"expr": "repository_nodesCount",
154201
"legendFormat": "Repository Nodes",
155202
"range": true,
156-
"refId": "A"
203+
"refId": "A",
204+
"datasource": {
205+
"type": "prometheus",
206+
"uid": "${DS_PROMETHEUS}"
207+
}
157208
}
158209
],
159210
"title": "Repository Node Count",
@@ -162,7 +213,7 @@
162213
{
163214
"datasource": {
164215
"type": "prometheus",
165-
"uid": "ffdp68onn7pj4b"
216+
"uid": "${DS_PROMETHEUS}"
166217
},
167218
"description": "This metric indicates the number of documents whose content has been successfully indexed in Elasticsearch instances. It is a subset of the total count of indexed documents.",
168219
"fieldConfig": {
@@ -215,7 +266,11 @@
215266
"expr": "elasticsearch_content_indexing_success_count",
216267
"legendFormat": "Success",
217268
"range": true,
218-
"refId": "A"
269+
"refId": "A",
270+
"datasource": {
271+
"type": "prometheus",
272+
"uid": "${DS_PROMETHEUS}"
273+
}
219274
}
220275
],
221276
"title": "Content Indexing Success Count",
@@ -224,7 +279,7 @@
224279
{
225280
"datasource": {
226281
"type": "prometheus",
227-
"uid": "ffdp68onn7pj4b"
282+
"uid": "${DS_PROMETHEUS}"
228283
},
229284
"description": "This metric indicates the number of documents whose content has not been successfully indexed in Elasticsearch instances. Reindexing may be necessary for these documents.",
230285
"fieldConfig": {
@@ -277,7 +332,11 @@
277332
"expr": "elasticsearch_content_indexing_failures_count",
278333
"legendFormat": "Failures",
279334
"range": true,
280-
"refId": "A"
335+
"refId": "A",
336+
"datasource": {
337+
"type": "prometheus",
338+
"uid": "${DS_PROMETHEUS}"
339+
}
281340
}
282341
],
283342
"title": "Content Indexing Failures Count",
@@ -286,7 +345,7 @@
286345
{
287346
"datasource": {
288347
"type": "prometheus",
289-
"uid": "ffdp68onn7pj4b"
348+
"uid": "${DS_PROMETHEUS}"
290349
},
291350
"description": "This metric indicates the number of newly added documents whose content indexing is in progress.",
292351
"fieldConfig": {
@@ -339,7 +398,11 @@
339398
"expr": "elasticsearch_content_indexing_new_documents_progress_count",
340399
"legendFormat": "New Content Progress",
341400
"range": true,
342-
"refId": "A"
401+
"refId": "A",
402+
"datasource": {
403+
"type": "prometheus",
404+
"uid": "${DS_PROMETHEUS}"
405+
}
343406
}
344407
],
345408
"title": "New Content Indexing In Progress",
@@ -348,7 +411,7 @@
348411
{
349412
"datasource": {
350413
"type": "prometheus",
351-
"uid": "ffdp68onn7pj4b"
414+
"uid": "${DS_PROMETHEUS}"
352415
},
353416
"description": "This metric indicates the number of modified documents whose content indexing is in progress.",
354417
"fieldConfig": {
@@ -401,7 +464,11 @@
401464
"expr": "elasticsearch_content_indexing_outdated_documents_progress_count",
402465
"legendFormat": "Reindex Progress",
403466
"range": true,
404-
"refId": "A"
467+
"refId": "A",
468+
"datasource": {
469+
"type": "prometheus",
470+
"uid": "${DS_PROMETHEUS}"
471+
}
405472
}
406473
],
407474
"title": "Outdated Content Reindexing In Progress",
@@ -410,7 +477,7 @@
410477
{
411478
"datasource": {
412479
"type": "prometheus",
413-
"uid": "ffdp68onn7pj4b"
480+
"uid": "${DS_PROMETHEUS}"
414481
},
415482
"description": "Trend of successful and failed content indexing operations over time.",
416483
"fieldConfig": {
@@ -496,14 +563,22 @@
496563
"expr": "rate(elasticsearch_content_indexing_success_count[5m])",
497564
"legendFormat": "Success Rate",
498565
"range": true,
499-
"refId": "A"
566+
"refId": "A",
567+
"datasource": {
568+
"type": "prometheus",
569+
"uid": "${DS_PROMETHEUS}"
570+
}
500571
},
501572
{
502573
"editorMode": "code",
503574
"expr": "rate(elasticsearch_content_indexing_failures_count[5m])",
504575
"legendFormat": "Failure Rate",
505576
"range": true,
506-
"refId": "B"
577+
"refId": "B",
578+
"datasource": {
579+
"type": "prometheus",
580+
"uid": "${DS_PROMETHEUS}"
581+
}
507582
}
508583
],
509584
"title": "Content Indexing Success vs Failures (Trend)",
@@ -525,5 +600,7 @@
525600
"timezone": "browser",
526601
"title": "Alfresco Elasticsearch Metrics (Context-Aware)",
527602
"uid": "97076aad-bbe5-4074-ad45-e615021ff7d1",
528-
"version": 3
603+
"version": 4,
604+
"weekStart": "",
605+
"id": null
529606
}

0 commit comments

Comments
 (0)