Skip to content

Commit 1708f8c

Browse files
[Prometheus] Enable tsdb by default for collector and query datastreams (#7261)
* enable tsdb by default Signed-off-by: Tetiana Kravchenko <tetiana.kravchenko@elastic.co> * fix pr url * Update packages/prometheus/changelog.yml Co-authored-by: Andrew Gizas <andreas.gkizas@elastic.co> --------- Signed-off-by: Tetiana Kravchenko <tetiana.kravchenko@elastic.co> Co-authored-by: Andrew Gizas <andreas.gkizas@elastic.co>
1 parent ab4d3a1 commit 1708f8c

File tree

4 files changed

+10
-1
lines changed

4 files changed

+10
-1
lines changed

packages/prometheus/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.8.0"
3+
changes:
4+
- description: Enable TSDB by default for collector and query metrics data streams. This improves storage usage and query performance. For more details, see https://www.elastic.co/guide/en/elasticsearch/reference/current/tsds.html. Still TSDB is not supported for remote_write
5+
type: enhancement
6+
link: https://github.com/elastic/integrations/pull/7261
27
- version: "1.7.0"
38
changes:
49
- description: Revert metrics field definition to the format used before introducing metric_type

packages/prometheus/data_stream/collector/manifest.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
title: Prometheus collector metrics
22
type: metrics
3+
elasticsearch:
4+
index_mode: "time_series"
35
streams:
46
- input: prometheus/metrics
57
vars:

packages/prometheus/data_stream/query/manifest.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
title: Prometheus query metrics
22
type: metrics
3+
elasticsearch:
4+
index_mode: "time_series"
35
streams:
46
- input: prometheus/metrics
57
vars:

packages/prometheus/manifest.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
format_version: 1.0.0
22
name: prometheus
33
title: Prometheus
4-
version: 1.7.0
4+
version: 1.8.0
55
license: basic
66
description: Collect metrics from Prometheus servers with Elastic Agent.
77
type: integration

0 commit comments

Comments
 (0)