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
TracingEnabledboolWhether the host's OpenTelemetry tracing is enabled.
MetricsEnabledboolWhether the host's OpenTelemetry metrics are enabled.
OtlpExportEnabledboolWhether the host exports over OTLP.
ActivitySourcesIReadOnlyList<PipelineActivitySourceInfo>The activity sources that exist in the process.
MetersIReadOnlyList<PipelineMeterInfo>The meters that exist in the process.
HostGaugesIReadOnlyList<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
HostGauges
The current values of the host's own observable gauges.
public IReadOnlyList<PipelineGaugeReading> HostGauges { get; init; }
Property Value
Meters
The meters that exist in the process.
public IReadOnlyList<PipelineMeterInfo> Meters { get; init; }
Property Value
MetricsEnabled
Whether the host's OpenTelemetry metrics are enabled.
public bool MetricsEnabled { get; init; }
Property Value
OtlpExportEnabled
Whether the host exports over OTLP.
public bool OtlpExportEnabled { get; init; }
Property Value
TracingEnabled
Whether the host's OpenTelemetry tracing is enabled.
public bool TracingEnabled { get; init; }