SERVER-127277: Address heartbeat handle leak on DSC (#54079)

Co-authored-by: David Goffredo <david.goffredo@mongodb.com>
GitOrigin-RevId: 8f5432b99c4b23b1f52f4f749db00c72bbb57c09
This commit is contained in:
Sarah Kelley 2026-05-21 15:58:49 -04:00 committed by MongoDB Bot
parent 831f326a19
commit bdbd328b7d
2 changed files with 3 additions and 0 deletions

View File

@ -40,6 +40,8 @@ StringData toString(MetricUnit unit) {
// Generic
case MetricUnit::kEvents:
return "events";
case MetricUnit::kCount:
return "count";
// Time
case MetricUnit::kMicroseconds:

View File

@ -40,6 +40,7 @@ namespace mongo::otel::metrics {
enum class MetricUnit {
// Generic
kEvents,
kCount,
// Time
kMicroseconds,