Table of Contents

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

Meter string

The meter name.

Instrument string

The instrument name.

Value double

The measured value.

Unit string

The instrument unit.

RecordedUtc DateTimeOffset

When the measurement was recorded.

Tags IReadOnlyDictionary<string, string>

A small set of the measurement's tags.

Properties

Instrument

The instrument name.

public string Instrument { get; init; }

Property Value

string

Meter

The meter name.

public string Meter { get; init; }

Property Value

string

RecordedUtc

When the measurement was recorded.

public DateTimeOffset RecordedUtc { get; init; }

Property Value

DateTimeOffset

Tags

A small set of the measurement's tags.

public IReadOnlyDictionary<string, string> Tags { get; init; }

Property Value

IReadOnlyDictionary<string, string>

Unit

The instrument unit.

public string? Unit { get; init; }

Property Value

string

Value

The measured value.

public double Value { get; init; }

Property Value

double