IInstrument Interface
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
The base interface for all non-observable instruments. Mirrored from: https://learn.microsoft.com/en-us/dotnet/api/system.diagnostics.metrics.instrument-1?view=net-6.0.
public interface IInstrument
type IInstrument = interface
Public Interface IInstrument
- Derived
Properties
Description |
Gets the instrument description. |
Enabled |
Gets a value indicating whether there are any listeners for this instrument. |
IsObservable |
Gets a value indicating whether the instrument is an observable instrument. |
Meter |
Gets the Meter that created the instrument. |
Name |
Gets the instrument name. |
Unit |
Gets the instrument unit of measurements. |