Class PipelineMeasurement
- Namespace
- ReferenceApplication.Web.Governance.Pipeline
- Assembly
- ReferenceApplication.Web.dll
A metric measurement observed by the in-process listener.
public sealed record PipelineMeasurement : IEquatable<PipelineMeasurement>
- Inheritance
-
PipelineMeasurement
- Implements
- Inherited Members
Constructors
PipelineMeasurement(string, string, double, string?, DateTimeOffset, IReadOnlyDictionary<string, string>)
A metric measurement observed by the in-process listener.
public PipelineMeasurement(string Meter, string Instrument, double Value, string? Unit, DateTimeOffset RecordedUtc, IReadOnlyDictionary<string, string> Tags)
Parameters
MeterstringThe meter name.
InstrumentstringThe instrument name.
ValuedoubleThe measured value.
UnitstringThe instrument unit.
RecordedUtcDateTimeOffsetWhen the measurement was recorded.
TagsIReadOnlyDictionary<string, string>A small set of the measurement's tags.
Properties
Instrument
The instrument name.
public string Instrument { get; init; }
Property Value
Meter
The meter name.
public string Meter { get; init; }
Property Value
RecordedUtc
When the measurement was recorded.
public DateTimeOffset RecordedUtc { get; init; }
Property Value
Tags
A small set of the measurement's tags.
public IReadOnlyDictionary<string, string> Tags { get; init; }
Property Value
Unit
The instrument unit.
public string? Unit { get; init; }
Property Value
Value
The measured value.
public double Value { get; init; }