Table of Contents

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

CorrelationId string

The request correlation identifier.

TraceId string

The request's W3C trace identifier, when it is known.

Found bool

Whether a governance decision is recorded for the correlation identifier.

Stages IReadOnlyList<PipelineStage>

Each stage, in pipeline order; synchronous stages come first.

Spans IReadOnlyList<PipelineSpan>

The spans observed for the request's trace.

Measurements IReadOnlyList<PipelineMeasurement>

The metric measurements recorded for the request.

Properties

CorrelationId

The request correlation identifier.

public string CorrelationId { get; init; }

Property Value

string

Found

Whether a governance decision is recorded for the correlation identifier.

public bool Found { get; init; }

Property Value

bool

Measurements

The metric measurements recorded for the request.

public IReadOnlyList<PipelineMeasurement> Measurements { get; init; }

Property Value

IReadOnlyList<PipelineMeasurement>

Spans

The spans observed for the request's trace.

public IReadOnlyList<PipelineSpan> Spans { get; init; }

Property Value

IReadOnlyList<PipelineSpan>

Stages

Each stage, in pipeline order; synchronous stages come first.

public IReadOnlyList<PipelineStage> Stages { get; init; }

Property Value

IReadOnlyList<PipelineStage>

TraceId

The request's W3C trace identifier, when it is known.

public string? TraceId { get; init; }

Property Value

string