Skip to content

Commit 1b9082e

Browse files
[O11y][Redis] Update value format of Top Slowest command visualization (#8186)
* Update value format of visualization * Update changelog * Update version in changelog * Compact x-axis label
1 parent ad1a9dc commit 1b9082e

File tree

6 files changed

+59
-38
lines changed

6 files changed

+59
-38
lines changed

packages/redis/changelog.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,9 @@
11
# newer versions go on top
2+
- version: "1.13.0"
3+
changes:
4+
- description: Update value format of "Top Slowest command" visualization.
5+
type: enhancement
6+
link: https://github.com/elastic/integrations/pull/8186
27
- version: 1.12.0
38
changes:
49
- description: Update the package format_version to 3.0.0.
-6.69 KB
Loading

packages/redis/kibana/dashboard/redis-7fea2930-478e-11e7-b1f0-cb29bac6bf8b.json

Lines changed: 42 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,21 @@
11
{
22
"attributes": {
33
"description": "Overview dashboard for the FIlebeat Redis integration",
4-
"hits": 0,
54
"kibanaSavedObjectMeta": {
65
"searchSourceJSON": {
76
"filter": [],
8-
"highlightAll": true,
97
"query": {
108
"language": "kuery",
119
"query": ""
12-
},
13-
"version": true
10+
}
1411
}
1512
},
1613
"optionsJSON": {
17-
"darkTheme": false,
18-
"syncColors": true
14+
"hidePanelTitles": false,
15+
"syncColors": true,
16+
"syncCursor": true,
17+
"syncTooltips": false,
18+
"useMargins": true
1919
},
2020
"panelsJSON": [
2121
{
@@ -44,7 +44,7 @@
4444
"panelIndex": "4",
4545
"panelRefName": "panel_4",
4646
"type": "search",
47-
"version": "8.3.0"
47+
"version": "8.10.2"
4848
},
4949
{
5050
"embeddableConfig": {
@@ -67,11 +67,12 @@
6767
"panelIndex": "6",
6868
"panelRefName": "panel_6",
6969
"type": "search",
70-
"version": "8.3.0"
70+
"version": "8.10.2"
7171
},
7272
{
7373
"embeddableConfig": {
7474
"attributes": {
75+
"description": "",
7576
"references": [
7677
{
7778
"id": "logs-*",
@@ -80,8 +81,9 @@
8081
}
8182
],
8283
"state": {
84+
"adHocDataViews": {},
8385
"datasourceStates": {
84-
"indexpattern": {
86+
"formBased": {
8587
"layers": {
8688
"c0de1034-34c9-4f6a-b525-e39bd578cd2f": {
8789
"columnOrder": [
@@ -112,8 +114,19 @@
112114
"customLabel": true,
113115
"dataType": "number",
114116
"isBucketed": false,
115-
"label": "Duration (microseconds)",
117+
"label": "Duration",
116118
"operationType": "max",
119+
"params": {
120+
"format": {
121+
"id": "duration",
122+
"params": {
123+
"compact": true,
124+
"decimals": 0,
125+
"fromUnit": "microseconds",
126+
"toUnit": "humanizePrecise"
127+
}
128+
}
129+
},
117130
"scale": "ratio",
118131
"sourceField": "redis.slowlog.duration.us"
119132
}
@@ -124,6 +137,7 @@
124137
}
125138
},
126139
"filters": [],
140+
"internalReferences": [],
127141
"query": {
128142
"language": "kuery",
129143
"query": "data_stream.dataset:redis.slowlog"
@@ -198,7 +212,7 @@
198212
"panelIndex": "048af531-a2d5-4a14-b7d2-6156dce83cbc",
199213
"title": "Top slowest commands [Logs Redis]",
200214
"type": "lens",
201-
"version": "8.3.0"
215+
"version": "8.10.2"
202216
},
203217
{
204218
"embeddableConfig": {
@@ -212,7 +226,7 @@
212226
],
213227
"state": {
214228
"datasourceStates": {
215-
"indexpattern": {
229+
"formBased": {
216230
"layers": {
217231
"257bce71-5aee-4178-a2be-194e662bfb13": {
218232
"columnOrder": [
@@ -283,17 +297,19 @@
283297
"layers": [
284298
{
285299
"categoryDisplay": "default",
286-
"groups": [
287-
"3e287c6c-a179-407b-8190-518aeb0a5a9b",
288-
"a222cc47-29f7-4207-9b62-38996bcf3dba"
289-
],
290300
"layerId": "257bce71-5aee-4178-a2be-194e662bfb13",
291301
"layerType": "data",
292302
"legendDisplay": "show",
293303
"legendPosition": "right",
294-
"metric": "bcd9cc84-7d4e-4511-918e-4cac501f3ecc",
304+
"metrics": [
305+
"bcd9cc84-7d4e-4511-918e-4cac501f3ecc"
306+
],
295307
"nestedLegend": true,
296-
"numberDisplay": "percent"
308+
"numberDisplay": "percent",
309+
"primaryGroups": [
310+
"3e287c6c-a179-407b-8190-518aeb0a5a9b",
311+
"a222cc47-29f7-4207-9b62-38996bcf3dba"
312+
]
297313
}
298314
],
299315
"palette": {
@@ -319,7 +335,7 @@
319335
"panelIndex": "62b73fa0-e562-4af6-9d4e-9158eba31a8b",
320336
"title": "Log levels and roles breakdown [Logs Redis]",
321337
"type": "lens",
322-
"version": "8.3.0"
338+
"version": "8.10.2"
323339
},
324340
{
325341
"embeddableConfig": {
@@ -333,7 +349,7 @@
333349
],
334350
"state": {
335351
"datasourceStates": {
336-
"indexpattern": {
352+
"formBased": {
337353
"layers": {
338354
"ebb70b66-e024-4a14-b179-d15c72b605bf": {
339355
"columnOrder": [
@@ -456,18 +472,17 @@
456472
"panelIndex": "5150d808-cfa0-4a30-ab6f-e9517fa2ceec",
457473
"title": "Logs over time [Logs Redis]",
458474
"type": "lens",
459-
"version": "8.3.0"
475+
"version": "8.10.2"
460476
}
461477
],
462478
"timeRestore": false,
463479
"title": "[Logs Redis] Overview",
464480
"version": 1
465481
},
466-
"coreMigrationVersion": "8.3.0",
482+
"coreMigrationVersion": "8.8.0",
483+
"created_at": "2023-10-23T06:52:58.334Z",
467484
"id": "redis-7fea2930-478e-11e7-b1f0-cb29bac6bf8b",
468-
"migrationVersion": {
469-
"dashboard": "8.3.0"
470-
},
485+
"managed": false,
471486
"references": [
472487
{
473488
"id": "redis-73613570-4791-11e7-be88-2ddb32f3df97",
@@ -495,5 +510,6 @@
495510
"type": "index-pattern"
496511
}
497512
],
498-
"type": "dashboard"
513+
"type": "dashboard",
514+
"typeMigrationVersion": "8.9.0"
499515
}

packages/redis/kibana/search/redis-0ab87b80-478e-11e7-b1f0-cb29bac6bf8b.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -29,17 +29,17 @@
2929
"title": "Slow logs [Logs Redis]",
3030
"version": 1
3131
},
32-
"coreMigrationVersion": "8.3.0",
32+
"coreMigrationVersion": "8.8.0",
33+
"created_at": "2023-10-23T06:20:05.818Z",
3334
"id": "redis-0ab87b80-478e-11e7-b1f0-cb29bac6bf8b",
34-
"migrationVersion": {
35-
"search": "8.0.0"
36-
},
35+
"managed": true,
3736
"references": [
3837
{
3938
"id": "logs-*",
4039
"name": "kibanaSavedObjectMeta.searchSourceJSON.index",
4140
"type": "index-pattern"
4241
}
4342
],
44-
"type": "search"
43+
"type": "search",
44+
"typeMigrationVersion": "8.0.0"
4545
}

packages/redis/kibana/search/redis-73613570-4791-11e7-be88-2ddb32f3df97.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -51,11 +51,10 @@
5151
"title": "Logs [Logs Redis]",
5252
"version": 1
5353
},
54-
"coreMigrationVersion": "8.3.0",
54+
"coreMigrationVersion": "8.8.0",
55+
"created_at": "2023-10-23T06:20:05.818Z",
5556
"id": "redis-73613570-4791-11e7-be88-2ddb32f3df97",
56-
"migrationVersion": {
57-
"search": "8.0.0"
58-
},
57+
"managed": true,
5958
"references": [
6059
{
6160
"id": "logs-*",
@@ -73,5 +72,6 @@
7372
"type": "index-pattern"
7473
}
7574
],
76-
"type": "search"
75+
"type": "search",
76+
"typeMigrationVersion": "8.0.0"
7777
}

packages/redis/manifest.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
11
format_version: "3.0.0"
22
name: redis
33
title: Redis
4-
version: "1.12.0"
4+
version: "1.13.0"
55
description: Collect logs and metrics from Redis servers with Elastic Agent.
66
type: integration
77
categories:
88
- datastore
99
- observability
1010
conditions:
1111
kibana:
12-
version: "^8.8.0"
12+
version: "^8.10.2"
1313
elastic:
1414
subscription: basic
1515
screenshots:

0 commit comments

Comments
 (0)