Share via


IInstrument Interface

Definition

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.

Applies to