diff --git a/packages/system/changelog.yml b/packages/system/changelog.yml index e18208a1ee4..f55f0394700 100644 --- a/packages/system/changelog.yml +++ b/packages/system/changelog.yml @@ -1,4 +1,9 @@ # newer versions go on top +- version: "2.10.0" + changes: + - description: Added swap field to process.memory data stream. + type: enhancement + link: https://github.com/elastic/integrations/pull/16754 - version: "2.9.0" changes: - description: Update README with Alerting Rule Template. diff --git a/packages/system/data_stream/process/fields/fields.yml b/packages/system/data_stream/process/fields/fields.yml index 1415b493aaa..8c752f3a2ad 100644 --- a/packages/system/data_stream/process/fields/fields.yml +++ b/packages/system/data_stream/process/fields/fields.yml @@ -85,6 +85,12 @@ metric_type: gauge description: | The shared memory the process uses. + - name: swap + type: long + unit: byte + metric_type: gauge + description: | + The swap memory the process uses. - name: fd type: group fields: diff --git a/packages/system/docs/README.md b/packages/system/docs/README.md index 093a3cab72d..f92e485a83e 100644 --- a/packages/system/docs/README.md +++ b/packages/system/docs/README.md @@ -1752,6 +1752,7 @@ Please refer to the following [document](https://www.elastic.co/guide/en/ecs/cur | system.process.memory.rss.pct | The percentage of memory the process occupied in main memory (RAM). | scaled_float | percent | gauge | | system.process.memory.share | The shared memory the process uses. | long | byte | gauge | | system.process.memory.size | The total virtual memory the process has. On Windows this represents the Commit Charge (the total amount of memory that the memory manager has committed for a running process) value in bytes for this process. | long | byte | gauge | +| system.process.memory.swap | The swap memory the process uses. | long | byte | gauge | | system.process.num_threads | Number of threads in the process | integer | | | | system.process.state | The process state. For example: "running". | keyword | | | diff --git a/packages/system/manifest.yml b/packages/system/manifest.yml index 06ccc0d57a7..e7acc832f57 100644 --- a/packages/system/manifest.yml +++ b/packages/system/manifest.yml @@ -1,7 +1,7 @@ format_version: 3.4.0 name: system title: System -version: "2.9.0" +version: "2.10.0" description: Collect system logs and metrics from your servers with Elastic Agent. type: integration categories: