From 70d4f7a91d5c5af25685f7e625f36567e17ca086 Mon Sep 17 00:00:00 2001 From: Arianna Laudazzi <46651782+alaudazzi@users.noreply.github.com> Date: Tue, 12 Dec 2023 18:51:30 +0100 Subject: [PATCH] [MongoDB]: Improve wording on milliseconds (#8704) * Fix wording on milliseconds * Update changelog and manifest * Update packages/mongodb/changelog.yml Co-authored-by: subham sarkar --------- Co-authored-by: subham sarkar --- packages/mongodb/changelog.yml | 5 +++++ packages/mongodb/data_stream/status/fields/fields.yml | 2 +- packages/mongodb/docs/README.md | 2 +- packages/mongodb/manifest.yml | 2 +- 4 files changed, 8 insertions(+), 3 deletions(-) diff --git a/packages/mongodb/changelog.yml b/packages/mongodb/changelog.yml index 9d625adafec4..fd485bf8f511 100644 --- a/packages/mongodb/changelog.yml +++ b/packages/mongodb/changelog.yml @@ -1,3 +1,8 @@ +- version: 1.12.2 + changes: + - description: Improve wording on milliseconds. + type: enhancement + link: https://github.com/elastic/integrations/pull/8704 - version: 1.12.1 changes: - description: Add null and ignore_missing check to handle event.original field. diff --git a/packages/mongodb/data_stream/status/fields/fields.yml b/packages/mongodb/data_stream/status/fields/fields.yml index 7d929d3827a8..4a8407aac79c 100644 --- a/packages/mongodb/data_stream/status/fields/fields.yml +++ b/packages/mongodb/data_stream/status/fields/fields.yml @@ -650,7 +650,7 @@ type: long metric_type: gauge description: | - The total number of milliseconds (ms) that the mongod processes have spent writing (i.e. flushing) data to disk. Because this is an absolute value, consider the value of `flushes` and `average_ms` to provide better context for this datum. + The total amount of time in milliseconds that the mongod processes have spent writing (i.e. flushing) data to disk. Because this is an absolute value, consider the value of `flushes` and `average_ms` to provide better context for this datum. - name: average.ms type: long metric_type: gauge diff --git a/packages/mongodb/docs/README.md b/packages/mongodb/docs/README.md index da3ac0ede6ae..72e00bd798a5 100644 --- a/packages/mongodb/docs/README.md +++ b/packages/mongodb/docs/README.md @@ -1571,7 +1571,7 @@ The fields reported are: | mongodb.status.background_flushing.flushes | A counter that collects the number of times the database has flushed all writes to disk. | long | counter | | mongodb.status.background_flushing.last.ms | The amount of time, in milliseconds, that the last flush operation took to complete. | long | gauge | | mongodb.status.background_flushing.last_finished | A timestamp of the last completed flush operation. | date | | -| mongodb.status.background_flushing.total.ms | The total number of milliseconds (ms) that the mongod processes have spent writing (i.e. flushing) data to disk. Because this is an absolute value, consider the value of `flushes` and `average_ms` to provide better context for this datum. | long | gauge | +| mongodb.status.background_flushing.total.ms | The total amount of time in milliseconds that the mongod processes have spent writing (i.e. flushing) data to disk. Because this is an absolute value, consider the value of `flushes` and `average_ms` to provide better context for this datum. | long | gauge | | mongodb.status.connections.available | The number of unused available incoming connections the database can provide. | long | gauge | | mongodb.status.connections.current | The number of connections to the database server from clients. This number includes the current shell session. Consider the value of `available` to add more context to this datum. | long | gauge | | mongodb.status.connections.total_created | A count of all incoming connections created to the server. This number includes connections that have since closed. | long | counter | diff --git a/packages/mongodb/manifest.yml b/packages/mongodb/manifest.yml index 662448250936..b2e515f17823 100644 --- a/packages/mongodb/manifest.yml +++ b/packages/mongodb/manifest.yml @@ -1,6 +1,6 @@ name: mongodb title: MongoDB -version: "1.12.1" +version: "1.12.2" description: Collect logs and metrics from MongoDB instances with Elastic Agent. type: integration categories: