Table of Contents

Class PipelineRecordDiagnosticContext

Namespace
Pipelinez.Core.Operational
Assembly
Pipelinez.dll

Captures diagnostic identifiers associated with a record as it moves through the pipeline.

public sealed class PipelineRecordDiagnosticContext
Inheritance
PipelineRecordDiagnosticContext
Inherited Members

Constructors

PipelineRecordDiagnosticContext(string, string, string, string, string?)

Initializes a new record diagnostic context.

public PipelineRecordDiagnosticContext(string correlationId, string pipelineName, string instanceId, string workerId, string? componentName = null)

Parameters

correlationId string
pipelineName string
instanceId string
workerId string
componentName string

Properties

ComponentName

Gets the component name associated with the current diagnostic event, if one exists.

public string? ComponentName { get; }

Property Value

string

CorrelationId

Gets the record correlation identifier.

public string CorrelationId { get; }

Property Value

string

InstanceId

Gets the host instance identifier.

public string InstanceId { get; }

Property Value

string

PipelineName

Gets the pipeline name.

public string PipelineName { get; }

Property Value

string

WorkerId

Gets the worker identifier.

public string WorkerId { get; }

Property Value

string