Table of Contents

Class PipelineTelemetryView

Namespace
ReferenceApplication.Web.Governance.Pipeline
Assembly
ReferenceApplication.Web.dll

The telemetry sources and meters present in the process, as an in-process listener sees them.

public sealed record PipelineTelemetryView : IEquatable<PipelineTelemetryView>
Inheritance
PipelineTelemetryView
Implements
Inherited Members

Constructors

PipelineTelemetryView(bool, bool, bool, IReadOnlyList<PipelineActivitySourceInfo>, IReadOnlyList<PipelineMeterInfo>, IReadOnlyList<PipelineGaugeReading>)

The telemetry sources and meters present in the process, as an in-process listener sees them.

public PipelineTelemetryView(bool TracingEnabled, bool MetricsEnabled, bool OtlpExportEnabled, IReadOnlyList<PipelineActivitySourceInfo> ActivitySources, IReadOnlyList<PipelineMeterInfo> Meters, IReadOnlyList<PipelineGaugeReading> HostGauges)

Parameters

TracingEnabled bool

Whether the host's OpenTelemetry tracing is enabled.

MetricsEnabled bool

Whether the host's OpenTelemetry metrics are enabled.

OtlpExportEnabled bool

Whether the host exports over OTLP.

ActivitySources IReadOnlyList<PipelineActivitySourceInfo>

The activity sources that exist in the process.

Meters IReadOnlyList<PipelineMeterInfo>

The meters that exist in the process.

HostGauges IReadOnlyList<PipelineGaugeReading>

The current values of the host's own observable gauges.

Properties

ActivitySources

The activity sources that exist in the process.

public IReadOnlyList<PipelineActivitySourceInfo> ActivitySources { get; init; }

Property Value

IReadOnlyList<PipelineActivitySourceInfo>

HostGauges

The current values of the host's own observable gauges.

public IReadOnlyList<PipelineGaugeReading> HostGauges { get; init; }

Property Value

IReadOnlyList<PipelineGaugeReading>

Meters

The meters that exist in the process.

public IReadOnlyList<PipelineMeterInfo> Meters { get; init; }

Property Value

IReadOnlyList<PipelineMeterInfo>

MetricsEnabled

Whether the host's OpenTelemetry metrics are enabled.

public bool MetricsEnabled { get; init; }

Property Value

bool

OtlpExportEnabled

Whether the host exports over OTLP.

public bool OtlpExportEnabled { get; init; }

Property Value

bool

TracingEnabled

Whether the host's OpenTelemetry tracing is enabled.

public bool TracingEnabled { get; init; }

Property Value

bool