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:
parent
831f326a19
commit
bdbd328b7d
@ -40,6 +40,8 @@ StringData toString(MetricUnit unit) {
|
||||
// Generic
|
||||
case MetricUnit::kEvents:
|
||||
return "events";
|
||||
case MetricUnit::kCount:
|
||||
return "count";
|
||||
|
||||
// Time
|
||||
case MetricUnit::kMicroseconds:
|
||||
|
||||
@ -40,6 +40,7 @@ namespace mongo::otel::metrics {
|
||||
enum class MetricUnit {
|
||||
// Generic
|
||||
kEvents,
|
||||
kCount,
|
||||
|
||||
// Time
|
||||
kMicroseconds,
|
||||
|
||||
Loading…
Reference in New Issue
Block a user