Class PipelineRequestView
- Namespace
- ReferenceApplication.Web.Governance.Pipeline
- Assembly
- ReferenceApplication.Web.dll
One governed request's stage timing and the telemetry emitted for it.
public sealed record PipelineRequestView : IEquatable<PipelineRequestView>
- Inheritance
-
PipelineRequestView
- Implements
- Inherited Members
Constructors
PipelineRequestView(string, string?, bool, IReadOnlyList<PipelineStage>, IReadOnlyList<PipelineSpan>, IReadOnlyList<PipelineMeasurement>)
One governed request's stage timing and the telemetry emitted for it.
public PipelineRequestView(string CorrelationId, string? TraceId, bool Found, IReadOnlyList<PipelineStage> Stages, IReadOnlyList<PipelineSpan> Spans, IReadOnlyList<PipelineMeasurement> Measurements)
Parameters
CorrelationIdstringThe request correlation identifier.
TraceIdstringThe request's W3C trace identifier, when it is known.
FoundboolWhether a governance decision is recorded for the correlation identifier.
StagesIReadOnlyList<PipelineStage>Each stage, in pipeline order; synchronous stages come first.
SpansIReadOnlyList<PipelineSpan>The spans observed for the request's trace.
MeasurementsIReadOnlyList<PipelineMeasurement>The metric measurements recorded for the request.
Properties
CorrelationId
The request correlation identifier.
public string CorrelationId { get; init; }
Property Value
Found
Whether a governance decision is recorded for the correlation identifier.
public bool Found { get; init; }
Property Value
Measurements
The metric measurements recorded for the request.
public IReadOnlyList<PipelineMeasurement> Measurements { get; init; }
Property Value
Spans
The spans observed for the request's trace.
public IReadOnlyList<PipelineSpan> Spans { get; init; }
Property Value
Stages
Each stage, in pipeline order; synchronous stages come first.
public IReadOnlyList<PipelineStage> Stages { get; init; }
Property Value
TraceId
The request's W3C trace identifier, when it is known.
public string? TraceId { get; init; }