From be3428a6b2923e1a17066ad087040ef48cf8acf5 Mon Sep 17 00:00:00 2001 From: Tetiana Kravchenko Date: Wed, 10 May 2023 18:21:58 +0200 Subject: [PATCH 1/2] enable tsdb by default Signed-off-by: Tetiana Kravchenko --- packages/kubernetes/changelog.yml | 5 +++++ packages/kubernetes/data_stream/apiserver/manifest.yml | 2 ++ packages/kubernetes/data_stream/container/manifest.yml | 2 ++ .../kubernetes/data_stream/controllermanager/manifest.yml | 2 ++ packages/kubernetes/data_stream/node/manifest.yml | 2 ++ packages/kubernetes/data_stream/pod/manifest.yml | 2 ++ packages/kubernetes/data_stream/proxy/manifest.yml | 2 ++ packages/kubernetes/data_stream/scheduler/manifest.yml | 2 ++ packages/kubernetes/data_stream/state_container/manifest.yml | 2 ++ packages/kubernetes/data_stream/state_cronjob/manifest.yml | 2 ++ packages/kubernetes/data_stream/state_daemonset/manifest.yml | 2 ++ .../kubernetes/data_stream/state_deployment/manifest.yml | 2 ++ packages/kubernetes/data_stream/state_job/manifest.yml | 2 ++ packages/kubernetes/data_stream/state_node/manifest.yml | 2 ++ .../data_stream/state_persistentvolume/manifest.yml | 2 ++ .../data_stream/state_persistentvolumeclaim/manifest.yml | 2 ++ packages/kubernetes/data_stream/state_pod/manifest.yml | 2 ++ .../kubernetes/data_stream/state_replicaset/manifest.yml | 2 ++ .../kubernetes/data_stream/state_resourcequota/manifest.yml | 2 ++ packages/kubernetes/data_stream/state_service/manifest.yml | 2 ++ .../kubernetes/data_stream/state_statefulset/manifest.yml | 2 ++ .../kubernetes/data_stream/state_storageclass/manifest.yml | 2 ++ packages/kubernetes/data_stream/system/manifest.yml | 2 ++ packages/kubernetes/data_stream/volume/manifest.yml | 2 ++ packages/kubernetes/manifest.yml | 4 ++-- 25 files changed, 53 insertions(+), 2 deletions(-) diff --git a/packages/kubernetes/changelog.yml b/packages/kubernetes/changelog.yml index f0de8eb7268b..d296b8da1beb 100644 --- a/packages/kubernetes/changelog.yml +++ b/packages/kubernetes/changelog.yml @@ -1,4 +1,9 @@ # newer versions go on top +- version: "1.37.0-beta" + changes: + - description: Use TSDS by default for metrics data_streams + type: enhancement + link: https://github.com/elastic/integrations/pull/6108 - version: "1.36.0" changes: - description: Add container.name dimension to container data stream diff --git a/packages/kubernetes/data_stream/apiserver/manifest.yml b/packages/kubernetes/data_stream/apiserver/manifest.yml index f091715b0632..09c6f7c94a82 100644 --- a/packages/kubernetes/data_stream/apiserver/manifest.yml +++ b/packages/kubernetes/data_stream/apiserver/manifest.yml @@ -1,5 +1,7 @@ title: Kubernetes API Server metrics type: metrics +elasticsearch: + index_mode: "time_series" streams: - input: kubernetes/metrics vars: diff --git a/packages/kubernetes/data_stream/container/manifest.yml b/packages/kubernetes/data_stream/container/manifest.yml index 873646c31f56..d7bd847229e6 100644 --- a/packages/kubernetes/data_stream/container/manifest.yml +++ b/packages/kubernetes/data_stream/container/manifest.yml @@ -1,5 +1,7 @@ title: Kubernetes Container metrics type: metrics +elasticsearch: + index_mode: "time_series" streams: - input: kubernetes/metrics vars: diff --git a/packages/kubernetes/data_stream/controllermanager/manifest.yml b/packages/kubernetes/data_stream/controllermanager/manifest.yml index ca50c1406a6f..1af8e3850345 100644 --- a/packages/kubernetes/data_stream/controllermanager/manifest.yml +++ b/packages/kubernetes/data_stream/controllermanager/manifest.yml @@ -1,5 +1,7 @@ title: Kubernetes Controller Manager metrics type: metrics +elasticsearch: + index_mode: "time_series" streams: - input: kubernetes/metrics enabled: false diff --git a/packages/kubernetes/data_stream/node/manifest.yml b/packages/kubernetes/data_stream/node/manifest.yml index d4b0232fd6d4..9914cdd88995 100644 --- a/packages/kubernetes/data_stream/node/manifest.yml +++ b/packages/kubernetes/data_stream/node/manifest.yml @@ -1,4 +1,6 @@ title: Kubernetes Node metrics +elasticsearch: + index_mode: "time_series" type: metrics streams: - input: kubernetes/metrics diff --git a/packages/kubernetes/data_stream/pod/manifest.yml b/packages/kubernetes/data_stream/pod/manifest.yml index b7944c3f1ed6..7194505cc244 100644 --- a/packages/kubernetes/data_stream/pod/manifest.yml +++ b/packages/kubernetes/data_stream/pod/manifest.yml @@ -1,4 +1,6 @@ title: Kubernetes Pod metrics +elasticsearch: + index_mode: "time_series" type: metrics streams: - input: kubernetes/metrics diff --git a/packages/kubernetes/data_stream/proxy/manifest.yml b/packages/kubernetes/data_stream/proxy/manifest.yml index 8f03a56de272..a20e40780e00 100644 --- a/packages/kubernetes/data_stream/proxy/manifest.yml +++ b/packages/kubernetes/data_stream/proxy/manifest.yml @@ -1,4 +1,6 @@ title: Kubernetes Proxy metrics +elasticsearch: + index_mode: "time_series" type: metrics streams: - input: kubernetes/metrics diff --git a/packages/kubernetes/data_stream/scheduler/manifest.yml b/packages/kubernetes/data_stream/scheduler/manifest.yml index a228e393b819..f4ee7265ba95 100644 --- a/packages/kubernetes/data_stream/scheduler/manifest.yml +++ b/packages/kubernetes/data_stream/scheduler/manifest.yml @@ -1,4 +1,6 @@ title: Kubernetes Scheduler metrics +elasticsearch: + index_mode: "time_series" type: metrics streams: - input: kubernetes/metrics diff --git a/packages/kubernetes/data_stream/state_container/manifest.yml b/packages/kubernetes/data_stream/state_container/manifest.yml index e47b6d409f24..735ad6978805 100644 --- a/packages/kubernetes/data_stream/state_container/manifest.yml +++ b/packages/kubernetes/data_stream/state_container/manifest.yml @@ -1,4 +1,6 @@ title: Kubernetes Container metrics +elasticsearch: + index_mode: "time_series" type: metrics streams: - input: kubernetes/metrics diff --git a/packages/kubernetes/data_stream/state_cronjob/manifest.yml b/packages/kubernetes/data_stream/state_cronjob/manifest.yml index d06cb5ada581..0bd4bc547725 100644 --- a/packages/kubernetes/data_stream/state_cronjob/manifest.yml +++ b/packages/kubernetes/data_stream/state_cronjob/manifest.yml @@ -1,4 +1,6 @@ title: Kubernetes Cronjob metrics +elasticsearch: + index_mode: "time_series" type: metrics streams: - input: kubernetes/metrics diff --git a/packages/kubernetes/data_stream/state_daemonset/manifest.yml b/packages/kubernetes/data_stream/state_daemonset/manifest.yml index 999d8f4b51b7..b261bd14bde4 100644 --- a/packages/kubernetes/data_stream/state_daemonset/manifest.yml +++ b/packages/kubernetes/data_stream/state_daemonset/manifest.yml @@ -1,4 +1,6 @@ title: Kubernetes Deamonset metrics +elasticsearch: + index_mode: "time_series" type: metrics streams: - input: kubernetes/metrics diff --git a/packages/kubernetes/data_stream/state_deployment/manifest.yml b/packages/kubernetes/data_stream/state_deployment/manifest.yml index 317174b0ae98..003633adec92 100644 --- a/packages/kubernetes/data_stream/state_deployment/manifest.yml +++ b/packages/kubernetes/data_stream/state_deployment/manifest.yml @@ -1,4 +1,6 @@ title: Kubernetes Deployment metrics +elasticsearch: + index_mode: "time_series" type: metrics streams: - input: kubernetes/metrics diff --git a/packages/kubernetes/data_stream/state_job/manifest.yml b/packages/kubernetes/data_stream/state_job/manifest.yml index e6781d4bd9c0..2fcc1f76139b 100644 --- a/packages/kubernetes/data_stream/state_job/manifest.yml +++ b/packages/kubernetes/data_stream/state_job/manifest.yml @@ -1,4 +1,6 @@ title: Kubernetes Job metrics +elasticsearch: + index_mode: "time_series" type: metrics streams: - input: kubernetes/metrics diff --git a/packages/kubernetes/data_stream/state_node/manifest.yml b/packages/kubernetes/data_stream/state_node/manifest.yml index 54a6e060ebff..a40bddac80b2 100644 --- a/packages/kubernetes/data_stream/state_node/manifest.yml +++ b/packages/kubernetes/data_stream/state_node/manifest.yml @@ -1,4 +1,6 @@ title: Kubernetes Node metrics +elasticsearch: + index_mode: "time_series" type: metrics streams: - input: kubernetes/metrics diff --git a/packages/kubernetes/data_stream/state_persistentvolume/manifest.yml b/packages/kubernetes/data_stream/state_persistentvolume/manifest.yml index ff9f3a1968ac..cf40b357fc0d 100644 --- a/packages/kubernetes/data_stream/state_persistentvolume/manifest.yml +++ b/packages/kubernetes/data_stream/state_persistentvolume/manifest.yml @@ -1,4 +1,6 @@ title: Kubernetes PersistentVolume metrics +elasticsearch: + index_mode: "time_series" type: metrics streams: - input: kubernetes/metrics diff --git a/packages/kubernetes/data_stream/state_persistentvolumeclaim/manifest.yml b/packages/kubernetes/data_stream/state_persistentvolumeclaim/manifest.yml index 00b1ed35808a..41fe7a94554c 100644 --- a/packages/kubernetes/data_stream/state_persistentvolumeclaim/manifest.yml +++ b/packages/kubernetes/data_stream/state_persistentvolumeclaim/manifest.yml @@ -1,4 +1,6 @@ title: Kubernetes PersistentVolumeClaim metrics +elasticsearch: + index_mode: "time_series" type: metrics streams: - input: kubernetes/metrics diff --git a/packages/kubernetes/data_stream/state_pod/manifest.yml b/packages/kubernetes/data_stream/state_pod/manifest.yml index 952ac9440e99..d854b774487b 100644 --- a/packages/kubernetes/data_stream/state_pod/manifest.yml +++ b/packages/kubernetes/data_stream/state_pod/manifest.yml @@ -1,4 +1,6 @@ title: Kubernetes Pod metrics +elasticsearch: + index_mode: "time_series" type: metrics streams: - input: kubernetes/metrics diff --git a/packages/kubernetes/data_stream/state_replicaset/manifest.yml b/packages/kubernetes/data_stream/state_replicaset/manifest.yml index 57da90f35ea6..78bfeecf1be1 100644 --- a/packages/kubernetes/data_stream/state_replicaset/manifest.yml +++ b/packages/kubernetes/data_stream/state_replicaset/manifest.yml @@ -1,4 +1,6 @@ title: Kubernetes state_replicaset metrics +elasticsearch: + index_mode: "time_series" type: metrics streams: - input: kubernetes/metrics diff --git a/packages/kubernetes/data_stream/state_resourcequota/manifest.yml b/packages/kubernetes/data_stream/state_resourcequota/manifest.yml index 9e3a53752619..63fb14fa9662 100644 --- a/packages/kubernetes/data_stream/state_resourcequota/manifest.yml +++ b/packages/kubernetes/data_stream/state_resourcequota/manifest.yml @@ -1,4 +1,6 @@ title: Kubernetes ResourceQuota metrics +elasticsearch: + index_mode: "time_series" type: metrics streams: - input: kubernetes/metrics diff --git a/packages/kubernetes/data_stream/state_service/manifest.yml b/packages/kubernetes/data_stream/state_service/manifest.yml index 22e3576c3150..c7eca8a1cdfd 100644 --- a/packages/kubernetes/data_stream/state_service/manifest.yml +++ b/packages/kubernetes/data_stream/state_service/manifest.yml @@ -1,4 +1,6 @@ title: Kubernetes Service metrics +elasticsearch: + index_mode: "time_series" type: metrics streams: - input: kubernetes/metrics diff --git a/packages/kubernetes/data_stream/state_statefulset/manifest.yml b/packages/kubernetes/data_stream/state_statefulset/manifest.yml index f5749efb8714..6485550f302a 100644 --- a/packages/kubernetes/data_stream/state_statefulset/manifest.yml +++ b/packages/kubernetes/data_stream/state_statefulset/manifest.yml @@ -1,4 +1,6 @@ title: Kubernetes StatefulSet metrics +elasticsearch: + index_mode: "time_series" type: metrics streams: - input: kubernetes/metrics diff --git a/packages/kubernetes/data_stream/state_storageclass/manifest.yml b/packages/kubernetes/data_stream/state_storageclass/manifest.yml index 8fbbb409b5f5..0120b7c4e8af 100644 --- a/packages/kubernetes/data_stream/state_storageclass/manifest.yml +++ b/packages/kubernetes/data_stream/state_storageclass/manifest.yml @@ -1,4 +1,6 @@ title: Kubernetes StorageClass metrics +elasticsearch: + index_mode: "time_series" type: metrics streams: - input: kubernetes/metrics diff --git a/packages/kubernetes/data_stream/system/manifest.yml b/packages/kubernetes/data_stream/system/manifest.yml index 36a3e1d3ca18..d0f33df288a5 100644 --- a/packages/kubernetes/data_stream/system/manifest.yml +++ b/packages/kubernetes/data_stream/system/manifest.yml @@ -1,4 +1,6 @@ title: Kubernetes System metrics +elasticsearch: + index_mode: "time_series" type: metrics streams: - input: kubernetes/metrics diff --git a/packages/kubernetes/data_stream/volume/manifest.yml b/packages/kubernetes/data_stream/volume/manifest.yml index c18a42429a3f..b2fe34088de0 100644 --- a/packages/kubernetes/data_stream/volume/manifest.yml +++ b/packages/kubernetes/data_stream/volume/manifest.yml @@ -1,4 +1,6 @@ title: Kubernetes Volume metrics +elasticsearch: + index_mode: "time_series" type: metrics streams: - input: kubernetes/metrics diff --git a/packages/kubernetes/manifest.yml b/packages/kubernetes/manifest.yml index 3bd8caafd178..5e693755ff82 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.36.0 +version: 1.37.0-beta license: basic description: Collect logs and metrics from Kubernetes clusters with Elastic Agent. type: integration @@ -11,7 +11,7 @@ categories: - kubernetes release: ga conditions: - kibana.version: "^8.6.1" + kibana.version: "^8.8.0" screenshots: - src: /img/metricbeat_kubernetes_overview.png title: Metricbeat Kubernetes Overview From b295f72b98df022e251a26a3e082f08e7dec822d Mon Sep 17 00:00:00 2001 From: Tetiana Kravchenko Date: Thu, 11 May 2023 20:26:28 +0200 Subject: [PATCH 2/2] update description and version Signed-off-by: Tetiana Kravchenko --- packages/kubernetes/changelog.yml | 6 +++--- packages/kubernetes/manifest.yml | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/packages/kubernetes/changelog.yml b/packages/kubernetes/changelog.yml index d296b8da1beb..26f5799e85d6 100644 --- a/packages/kubernetes/changelog.yml +++ b/packages/kubernetes/changelog.yml @@ -1,9 +1,9 @@ # newer versions go on top -- version: "1.37.0-beta" +- version: "1.39.0-beta" changes: - - description: Use TSDS by default for metrics data_streams + - description: Enable TSDS for metrics data_streams, except events for beta testing type: enhancement - link: https://github.com/elastic/integrations/pull/6108 + link: https://github.com/elastic/integrations/pull/6159 - version: "1.36.0" changes: - description: Add container.name dimension to container data stream diff --git a/packages/kubernetes/manifest.yml b/packages/kubernetes/manifest.yml index 5e693755ff82..46c39cc6abaa 100644 --- a/packages/kubernetes/manifest.yml +++ b/packages/kubernetes/manifest.yml @@ -1,9 +1,9 @@ format_version: 1.0.0 name: kubernetes title: Kubernetes -version: 1.37.0-beta +version: 1.39.0-beta license: basic -description: Collect logs and metrics from Kubernetes clusters with Elastic Agent. +description: Collect logs and metrics from Kubernetes clusters with Elastic Agent (TSDB Beta). type: integration categories: - observability