From f3e844456827ba4165ee6d9aa41d9cbb340e8b86 Mon Sep 17 00:00:00 2001 From: constanca-m Date: Tue, 16 May 2023 11:55:25 +0200 Subject: [PATCH 1/8] Fix dashboards. Signed-off-by: constanca-m --- packages/kubernetes/changelog.yml | 5 +++++ .../data_stream/container_logs/manifest.yml | 1 + .../data_stream/state_node/fields/fields.yml | 1 + ...-5e649d60-9901-11e9-ba57-b7ab4e2d4b58.json | 16 ++++++++++++---- ...-f5ab5510-9c94-11e9-94fd-c91206cd5249.json | 19 ++++++++++++------- 5 files changed, 31 insertions(+), 11 deletions(-) diff --git a/packages/kubernetes/changelog.yml b/packages/kubernetes/changelog.yml index 9606cec7799c..c706358a7199 100644 --- a/packages/kubernetes/changelog.yml +++ b/packages/kubernetes/changelog.yml @@ -9,6 +9,11 @@ - description: Remove container.name as a dimension. type: enhancement link: https://github.com/elastic/integrations/pull/6209 +- version: "1.38.2" + changes: + - description: Fix proxy and scheduler visualization with missing sort field. + type: bugfix + link: https://github.com/elastic/integrations/pull/6196 - version: "1.38.1" changes: - description: Switch max to last value on counter formulas and add missing sort field to proxy, controller manager and scheduler dashboard. diff --git a/packages/kubernetes/data_stream/container_logs/manifest.yml b/packages/kubernetes/data_stream/container_logs/manifest.yml index 9bad9b2dbb9a..0f15117c8721 100644 --- a/packages/kubernetes/data_stream/container_logs/manifest.yml +++ b/packages/kubernetes/data_stream/container_logs/manifest.yml @@ -25,6 +25,7 @@ streams: title: Dataset name description: > Set the name for your dataset. Changing the dataset will send the data to a different index. For more info look at [data_stream field](https://www.elastic.co/guide/en/ecs/master/ecs-data_stream.html). + type: text - name: containerParserStream type: text diff --git a/packages/kubernetes/data_stream/state_node/fields/fields.yml b/packages/kubernetes/data_stream/state_node/fields/fields.yml index 092fd8609d27..3673abd7b8a8 100644 --- a/packages/kubernetes/data_stream/state_node/fields/fields.yml +++ b/packages/kubernetes/data_stream/state_node/fields/fields.yml @@ -28,6 +28,7 @@ type: keyword description: > Node NetworkUnavailable status (true, false or unknown) + - name: cpu type: group fields: diff --git a/packages/kubernetes/kibana/dashboard/kubernetes-5e649d60-9901-11e9-ba57-b7ab4e2d4b58.json b/packages/kubernetes/kibana/dashboard/kubernetes-5e649d60-9901-11e9-ba57-b7ab4e2d4b58.json index 0e68712b7560..369476df582b 100644 --- a/packages/kubernetes/kibana/dashboard/kubernetes-5e649d60-9901-11e9-ba57-b7ab4e2d4b58.json +++ b/packages/kubernetes/kibana/dashboard/kubernetes-5e649d60-9901-11e9-ba57-b7ab4e2d4b58.json @@ -1581,11 +1581,15 @@ "43097f7a-e478-47bc-81c1-7541bd899d46X0": { "customLabel": true, "dataType": "number", + "filter": { + "language": "kuery", + "query": "kubernetes.proxy.client.request.duration.us.sum: *" + }, "isBucketed": false, "label": "Part of Average latency s", "operationType": "last_value", "params": { - "emptyAsNull": false + "sortField": "@timestamp" }, "scale": "ratio", "sourceField": "kubernetes.proxy.client.request.duration.us.sum" @@ -1593,11 +1597,15 @@ "43097f7a-e478-47bc-81c1-7541bd899d46X1": { "customLabel": true, "dataType": "number", + "filter": { + "language": "kuery", + "query": "kubernetes.proxy.client.request.duration.us.count: *" + }, "isBucketed": false, "label": "Part of Average latency s", "operationType": "last_value", "params": { - "emptyAsNull": false + "sortField": "@timestamp" }, "scale": "ratio", "sourceField": "kubernetes.proxy.client.request.duration.us.count" @@ -1622,7 +1630,7 @@ 1000 ], "location": { - "max": 112, + "max": 126, "min": 0 }, "name": "divide", @@ -2503,4 +2511,4 @@ "type": "dashboard", "updated_at": "2023-01-11T16:15:13.706Z", "version": "WzM1MDAsMV0=" -} +} \ No newline at end of file diff --git a/packages/kubernetes/kibana/dashboard/kubernetes-f5ab5510-9c94-11e9-94fd-c91206cd5249.json b/packages/kubernetes/kibana/dashboard/kubernetes-f5ab5510-9c94-11e9-94fd-c91206cd5249.json index 7c99aa603bf4..8c92202ee740 100644 --- a/packages/kubernetes/kibana/dashboard/kubernetes-f5ab5510-9c94-11e9-94fd-c91206cd5249.json +++ b/packages/kubernetes/kibana/dashboard/kubernetes-f5ab5510-9c94-11e9-94fd-c91206cd5249.json @@ -341,9 +341,6 @@ "type": "lens", "version": "8.6.0" }, - - - { "embeddableConfig": { "attributes": { @@ -3345,11 +3342,15 @@ "43097f7a-e478-47bc-81c1-7541bd899d46X0": { "customLabel": true, "dataType": "number", + "filter": { + "language": "kuery", + "query": "kubernetes.scheduler.client.request.duration.us.sum: *" + }, "isBucketed": false, "label": "Part of Average latency in ms", "operationType": "last_value", "params": { - "emptyAsNull": false + "sortField": "@timestamp" }, "scale": "ratio", "sourceField": "kubernetes.scheduler.client.request.duration.us.sum" @@ -3357,11 +3358,15 @@ "43097f7a-e478-47bc-81c1-7541bd899d46X1": { "customLabel": true, "dataType": "number", + "filter": { + "language": "kuery", + "query": "kubernetes.scheduler.client.request.duration.us.count: *" + }, "isBucketed": false, "label": "Part of Average latency in ms", "operationType": "last_value", "params": { - "emptyAsNull": false + "sortField": "@timestamp" }, "scale": "ratio", "sourceField": "kubernetes.scheduler.client.request.duration.us.count" @@ -3386,7 +3391,7 @@ 1000 ], "location": { - "max": 120, + "max": 134, "min": 0 }, "name": "divide", @@ -3658,4 +3663,4 @@ "type": "dashboard", "updated_at": "2023-01-11T16:15:10.039Z", "version": "WzM0NzYsMV0=" -} +} \ No newline at end of file From a9d9f9707d388af9c5bf04b8c4c5a3534cfda8da Mon Sep 17 00:00:00 2001 From: constanca-m Date: Tue, 16 May 2023 11:58:49 +0200 Subject: [PATCH 2/8] Update changelog. Signed-off-by: constanca-m --- packages/kubernetes/changelog.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/kubernetes/changelog.yml b/packages/kubernetes/changelog.yml index c706358a7199..23102cad0fbc 100644 --- a/packages/kubernetes/changelog.yml +++ b/packages/kubernetes/changelog.yml @@ -13,7 +13,7 @@ changes: - description: Fix proxy and scheduler visualization with missing sort field. type: bugfix - link: https://github.com/elastic/integrations/pull/6196 + link: https://github.com/elastic/integrations/pull/6221 - version: "1.38.1" changes: - description: Switch max to last value on counter formulas and add missing sort field to proxy, controller manager and scheduler dashboard. From 233423138e73da05ad8d3dfdad3d856191eecb9a Mon Sep 17 00:00:00 2001 From: constanca-m Date: Tue, 16 May 2023 11:59:55 +0200 Subject: [PATCH 3/8] Rollback state node. Signed-off-by: constanca-m --- packages/kubernetes/data_stream/state_node/fields/fields.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/packages/kubernetes/data_stream/state_node/fields/fields.yml b/packages/kubernetes/data_stream/state_node/fields/fields.yml index 3673abd7b8a8..092fd8609d27 100644 --- a/packages/kubernetes/data_stream/state_node/fields/fields.yml +++ b/packages/kubernetes/data_stream/state_node/fields/fields.yml @@ -28,7 +28,6 @@ type: keyword description: > Node NetworkUnavailable status (true, false or unknown) - - name: cpu type: group fields: From 6925560b2b3c52a7c86b71174d7c97be7612ee3f Mon Sep 17 00:00:00 2001 From: constanca-m Date: Tue, 16 May 2023 12:00:51 +0200 Subject: [PATCH 4/8] Rollback container logs. Signed-off-by: constanca-m --- packages/kubernetes/data_stream/container_logs/manifest.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/packages/kubernetes/data_stream/container_logs/manifest.yml b/packages/kubernetes/data_stream/container_logs/manifest.yml index 0f15117c8721..9bad9b2dbb9a 100644 --- a/packages/kubernetes/data_stream/container_logs/manifest.yml +++ b/packages/kubernetes/data_stream/container_logs/manifest.yml @@ -25,7 +25,6 @@ streams: title: Dataset name description: > Set the name for your dataset. Changing the dataset will send the data to a different index. For more info look at [data_stream field](https://www.elastic.co/guide/en/ecs/master/ecs-data_stream.html). - type: text - name: containerParserStream type: text From 6c262efbc1157893e8a7fd8ded2b9db1dc45676d Mon Sep 17 00:00:00 2001 From: constanca-m Date: Tue, 16 May 2023 12:15:47 +0200 Subject: [PATCH 5/8] Update package version. Signed-off-by: constanca-m --- packages/kubernetes/changelog.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/packages/kubernetes/changelog.yml b/packages/kubernetes/changelog.yml index 23102cad0fbc..ea0af5208dfb 100644 --- a/packages/kubernetes/changelog.yml +++ b/packages/kubernetes/changelog.yml @@ -4,16 +4,16 @@ - description: Enable TSDS for metrics data_streams, except events for beta testing type: enhancement link: https://github.com/elastic/integrations/pull/6159 +- version: "1.39.1" + changes: + - description: Fix proxy and scheduler visualization with missing sort field. + type: bugfix + link: https://github.com/elastic/integrations/pull/6221 - version: "1.39.0" changes: - description: Remove container.name as a dimension. type: enhancement link: https://github.com/elastic/integrations/pull/6209 -- version: "1.38.2" - changes: - - description: Fix proxy and scheduler visualization with missing sort field. - type: bugfix - link: https://github.com/elastic/integrations/pull/6221 - version: "1.38.1" changes: - description: Switch max to last value on counter formulas and add missing sort field to proxy, controller manager and scheduler dashboard. From e164ef8781599f2260c56a33bb8b0e306bfb603d Mon Sep 17 00:00:00 2001 From: constanca-m Date: Tue, 16 May 2023 15:19:30 +0200 Subject: [PATCH 6/8] Update version. Signed-off-by: constanca-m --- packages/kubernetes/changelog.yml | 10 +++++----- packages/kubernetes/manifest.yml | 2 +- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/packages/kubernetes/changelog.yml b/packages/kubernetes/changelog.yml index ea0af5208dfb..b42c7bcf21f0 100644 --- a/packages/kubernetes/changelog.yml +++ b/packages/kubernetes/changelog.yml @@ -1,14 +1,14 @@ # newer versions go on top +- version: "1.40.1-beta" + changes: + - description: Fix proxy and scheduler visualization with missing sort field. + type: bugfix + link: https://github.com/elastic/integrations/pull/6221 - version: "1.40.0-beta" changes: - description: Enable TSDS for metrics data_streams, except events for beta testing type: enhancement link: https://github.com/elastic/integrations/pull/6159 -- version: "1.39.1" - changes: - - description: Fix proxy and scheduler visualization with missing sort field. - type: bugfix - link: https://github.com/elastic/integrations/pull/6221 - version: "1.39.0" changes: - description: Remove container.name as a dimension. diff --git a/packages/kubernetes/manifest.yml b/packages/kubernetes/manifest.yml index 9c9ec99ac7f9..d1fba300bd45 100644 --- a/packages/kubernetes/manifest.yml +++ b/packages/kubernetes/manifest.yml @@ -1,7 +1,7 @@ format_version: 1.0.0 name: kubernetes title: Kubernetes -version: 1.40.0-beta +version: 1.40.1-beta license: basic description: Collect logs and metrics from Kubernetes clusters with Elastic Agent (TSDB Beta). type: integration From 5e21cd66e0cac7389e2a2fd90f2563d3f6ec6928 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Constan=C3=A7a=20Manteigas?= <113898685+constanca-m@users.noreply.github.com> Date: Tue, 16 May 2023 15:53:24 +0200 Subject: [PATCH 7/8] Update packages/kubernetes/changelog.yml Co-authored-by: Jaime Soriano Pastor --- packages/kubernetes/changelog.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/kubernetes/changelog.yml b/packages/kubernetes/changelog.yml index b42c7bcf21f0..987d65b904ca 100644 --- a/packages/kubernetes/changelog.yml +++ b/packages/kubernetes/changelog.yml @@ -1,5 +1,5 @@ # newer versions go on top -- version: "1.40.1-beta" +- version: "1.40.0-beta.1" changes: - description: Fix proxy and scheduler visualization with missing sort field. type: bugfix From 4ac89a847f7c2c3adac6d8ac454c6598684b0f68 Mon Sep 17 00:00:00 2001 From: constanca-m Date: Tue, 16 May 2023 15:53:52 +0200 Subject: [PATCH 8/8] Update version. Signed-off-by: constanca-m --- packages/kubernetes/manifest.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/kubernetes/manifest.yml b/packages/kubernetes/manifest.yml index d1fba300bd45..116ff385fc11 100644 --- a/packages/kubernetes/manifest.yml +++ b/packages/kubernetes/manifest.yml @@ -1,7 +1,7 @@ format_version: 1.0.0 name: kubernetes title: Kubernetes -version: 1.40.1-beta +version: 1.40.0-beta.1 license: basic description: Collect logs and metrics from Kubernetes clusters with Elastic Agent (TSDB Beta). type: integration