opentelemetry_semantic_conventions::metric

Constant DOTNET_MONITOR_LOCK_CONTENTIONS

Source
pub const DOTNET_MONITOR_LOCK_CONTENTIONS: &str = "dotnet.monitor.lock_contentions";
Expand description

§Description

The number of times there was contention when trying to acquire a monitor lock since the process has started.

§Notes

Meter name: System.Runtime; Added in: .NET 9.0. This metric reports the same values as calling Monitor.LockContentionCount

§Metadata

Instrument:counter
Unit:{contention}
Status:Experimental