diff --git a/cmd/do-agent/aggregation.go b/cmd/do-agent/aggregation.go index 8488b7c3..b7d9a790 100644 --- a/cmd/do-agent/aggregation.go +++ b/cmd/do-agent/aggregation.go @@ -58,5 +58,5 @@ var k8sAggregationSpec = map[string][]string{ } var mongoAggregationSpec = map[string][]string{ - "mongodb_data_usage_percentage": {"cluster_uuid"}, + "mongoagent_data_usage_percentage": {"cluster_uuid"}, } diff --git a/cmd/do-agent/whitelist.go b/cmd/do-agent/whitelist.go index 0367db6c..f15e30b7 100644 --- a/cmd/do-agent/whitelist.go +++ b/cmd/do-agent/whitelist.go @@ -31,7 +31,7 @@ var dbaasWhitelist = map[string]bool{ "postgresql_pg_stat_database_xact_rollback": true, "postgresql_database_size_database_size": true, - "mongodb_data_usage_percentage": true, + "mongoagent_data_usage_percentage": true, "mysql_threads_created": true, "mysql_threads_connected": true,