diff --git a/mongo/CHANGELOG.md b/mongo/CHANGELOG.md index bf3c4592bb93e..8874fa03f2ad1 100644 --- a/mongo/CHANGELOG.md +++ b/mongo/CHANGELOG.md @@ -2,6 +2,33 @@ +## 6.5.0 / 2024-05-31 + +***Added***: + +* Emit mongodb_instance metadata event to for sharded cluster, replica-set and standalone deployment types. The metadata includes + - mongodb hostname + - mongodb version + - replica set name + - replica set state + - sharding cluster role + - cluster type + - hosts (list of mongodb instances this mongodb connects to) + - shards (list of shards this mongos instance connects to) + - cluster name ([#17518](https://github.com/DataDog/integrations-core/pull/17518)) +* Update dependencies ([#17519](https://github.com/DataDog/integrations-core/pull/17519)) +* Emit updated mongodb_instance event when mongo deployment type is refreshed with updates. The mongo deployment type is considered to be updated when + - replica set name is changed + - member role is updated in a replica set, i.e. primary step down/secondary step up or new member joins the replica set + - new shard joins a sharded cluster or new member joins a shard results in mongos shard map updated ([#17564](https://github.com/DataDog/integrations-core/pull/17564)) +* Samples MongoDB operations and collect explain plans for the sampled operations when DBM is enabled. ([#17596](https://github.com/DataDog/integrations-core/pull/17596)) +* Bump datadog-checks-base dependency to 36.7.0 ([#17688](https://github.com/DataDog/integrations-core/pull/17688)) + +***Fixed***: + +* Emit database_instance metadata before collecting metrics ([#17665](https://github.com/DataDog/integrations-core/pull/17665)) +* Only emit database_instance metadata when dbm is enabled ([#17697](https://github.com/DataDog/integrations-core/pull/17697)) + ## 6.4.0 / 2024-04-26 / Agent 7.54.0 ***Added***: diff --git a/mongo/changelog.d/17518.added b/mongo/changelog.d/17518.added deleted file mode 100644 index 6764147c8ec80..0000000000000 --- a/mongo/changelog.d/17518.added +++ /dev/null @@ -1,10 +0,0 @@ -Emit mongodb_instance metadata event to for sharded cluster, replica-set and standalone deployment types. The metadata includes -- mongodb hostname -- mongodb version -- replica set name -- replica set state -- sharding cluster role -- cluster type -- hosts (list of mongodb instances this mongodb connects to) -- shards (list of shards this mongos instance connects to) -- cluster name diff --git a/mongo/changelog.d/17519.added b/mongo/changelog.d/17519.added deleted file mode 100644 index af47fee9d6a90..0000000000000 --- a/mongo/changelog.d/17519.added +++ /dev/null @@ -1 +0,0 @@ -Update dependencies \ No newline at end of file diff --git a/mongo/changelog.d/17564.added b/mongo/changelog.d/17564.added deleted file mode 100644 index 4d48dcea0038a..0000000000000 --- a/mongo/changelog.d/17564.added +++ /dev/null @@ -1,4 +0,0 @@ -Emit updated mongodb_instance event when mongo deployment type is refreshed with updates. The mongo deployment type is considered to be updated when -- replica set name is changed -- member role is updated in a replica set, i.e. primary step down/secondary step up or new member joins the replica set -- new shard joins a sharded cluster or new member joins a shard results in mongos shard map updated diff --git a/mongo/changelog.d/17596.added b/mongo/changelog.d/17596.added deleted file mode 100644 index e21b953ff031e..0000000000000 --- a/mongo/changelog.d/17596.added +++ /dev/null @@ -1 +0,0 @@ -Samples MongoDB operations and collect explain plans for the sampled operations when DBM is enabled. diff --git a/mongo/changelog.d/17665.fixed b/mongo/changelog.d/17665.fixed deleted file mode 100644 index 753990e85d0c4..0000000000000 --- a/mongo/changelog.d/17665.fixed +++ /dev/null @@ -1 +0,0 @@ -Emit database_instance metadata before collecting metrics diff --git a/mongo/changelog.d/17688.added b/mongo/changelog.d/17688.added deleted file mode 100644 index 7d56f0ea444c2..0000000000000 --- a/mongo/changelog.d/17688.added +++ /dev/null @@ -1 +0,0 @@ -Bump datadog-checks-base dependency to 36.7.0 diff --git a/mongo/changelog.d/17697.fixed b/mongo/changelog.d/17697.fixed deleted file mode 100644 index 39686e089a8a0..0000000000000 --- a/mongo/changelog.d/17697.fixed +++ /dev/null @@ -1 +0,0 @@ -Only emit database_instance metadata when dbm is enabled diff --git a/mongo/datadog_checks/mongo/__about__.py b/mongo/datadog_checks/mongo/__about__.py index f2ed42923b026..045140dbbf117 100644 --- a/mongo/datadog_checks/mongo/__about__.py +++ b/mongo/datadog_checks/mongo/__about__.py @@ -2,4 +2,4 @@ # All rights reserved # Licensed under a 3-clause BSD style license (see LICENSE) -__version__ = '6.4.0' +__version__ = '6.5.0' diff --git a/requirements-agent-release.txt b/requirements-agent-release.txt index 6e01c492fb098..cb278fbe2f9b8 100644 --- a/requirements-agent-release.txt +++ b/requirements-agent-release.txt @@ -112,7 +112,7 @@ datadog-marklogic==4.2.1 datadog-mcache==4.1.0; sys_platform != 'win32' datadog-mesos-master==3.3.1; sys_platform != 'win32' datadog-mesos-slave==3.3.1; sys_platform != 'win32' -datadog-mongo==6.4.0 +datadog-mongo==6.5.0 datadog-mysql==12.5.0 datadog-nagios==1.13.0 datadog-network==3.3.0