diff --git a/packages/system/changelog.yml b/packages/system/changelog.yml index fdf4aab1d0a..efcc8b3c701 100644 --- a/packages/system/changelog.yml +++ b/packages/system/changelog.yml @@ -1,4 +1,9 @@ # newer versions go on top +- version: "2.1.0" + changes: + - description: Add support for use_performance_counters. + type: enhancement + link: https://github.com/elastic/integrations/pull/13150 - version: "2.0.1" changes: - description: Fix missing `period` config in `core` data stream. diff --git a/packages/system/data_stream/core/agent/stream/stream.yml.hbs b/packages/system/data_stream/core/agent/stream/stream.yml.hbs index 4b6dcc7428c..758535166ee 100644 --- a/packages/system/data_stream/core/agent/stream/stream.yml.hbs +++ b/packages/system/data_stream/core/agent/stream/stream.yml.hbs @@ -6,6 +6,9 @@ core.metrics: {{#if system.hostfs}} system.hostfs: {{system.hostfs}} {{/if}} +{{#if use_performance_counters}} +use_performance_counters: {{use_performance_counters}} +{{/if}} {{#if processors.length}} processors: {{processors}} diff --git a/packages/system/data_stream/core/manifest.yml b/packages/system/data_stream/core/manifest.yml index 352495dfc12..702e13404cd 100644 --- a/packages/system/data_stream/core/manifest.yml +++ b/packages/system/data_stream/core/manifest.yml @@ -37,5 +37,14 @@ streams: show_user: false description: >- Processors are used to reduce the number of fields in the exported event or to enhance the event with metadata. This executes in the agent before the logs are parsed. See [Processors](https://www.elastic.co/guide/en/beats/filebeat/current/filtering-and-enhancing-data.html) for details. + - name: use_performance_counters + type: bool + title: Use performance counters + multi: false + required: false + show_user: false + default: false + description: >- + This option enables the use of performance counters to collect data. You should use this option if running agent on Windows machines with more than 64 cores title: System core metrics description: Collect System core metrics diff --git a/packages/system/data_stream/cpu/agent/stream/stream.yml.hbs b/packages/system/data_stream/cpu/agent/stream/stream.yml.hbs index 2d52d8f73fb..a527a726017 100644 --- a/packages/system/data_stream/cpu/agent/stream/stream.yml.hbs +++ b/packages/system/data_stream/cpu/agent/stream/stream.yml.hbs @@ -7,6 +7,9 @@ period: {{period}} {{#if system.hostfs}} system.hostfs: {{system.hostfs}} {{/if}} +{{#if use_performance_counters}} +use_performance_counters: {{use_performance_counters}} +{{/if}} {{#if processors.length}} processors: {{processors}} diff --git a/packages/system/data_stream/cpu/manifest.yml b/packages/system/data_stream/cpu/manifest.yml index 32db486f83e..2a57b50419f 100644 --- a/packages/system/data_stream/cpu/manifest.yml +++ b/packages/system/data_stream/cpu/manifest.yml @@ -37,5 +37,14 @@ streams: show_user: false description: >- Processors are used to reduce the number of fields in the exported event or to enhance the event with metadata. This executes in the agent before the logs are parsed. See [Processors](https://www.elastic.co/guide/en/beats/filebeat/current/filtering-and-enhancing-data.html) for details. + - name: use_performance_counters + type: bool + title: Use performance counters + multi: false + required: false + show_user: false + default: false + description: >- + This option enables the use of performance counters to collect data. You should use this option if running agent on Windows machines with more than 64 cores title: System cpu metrics description: Collect System cpu metrics diff --git a/packages/system/manifest.yml b/packages/system/manifest.yml index d31a91c3144..9fe210671c4 100644 --- a/packages/system/manifest.yml +++ b/packages/system/manifest.yml @@ -1,7 +1,7 @@ format_version: 3.0.2 name: system title: System -version: "2.0.1" +version: "2.1.0" description: Collect system logs and metrics from your servers with Elastic Agent. type: integration categories: