Class PipelineActivitySourceInfo
- Namespace
- ReferenceApplication.Web.Governance.Pipeline
- Assembly
- ReferenceApplication.Web.dll
An activity source that exists in the process.
public sealed record PipelineActivitySourceInfo : IEquatable<PipelineActivitySourceInfo>
- Inheritance
-
PipelineActivitySourceInfo
- Implements
- Inherited Members
Constructors
PipelineActivitySourceInfo(string, string?, bool, long)
An activity source that exists in the process.
public PipelineActivitySourceInfo(string Name, string? Version, bool AddedToOpenTelemetry, long SpansObserved)
Parameters
NamestringThe source name.
VersionstringThe source version.
AddedToOpenTelemetryboolWhether the host's OpenTelemetry configuration collects it.
SpansObservedlongThe spans from it the listener has observed since the process started.
Properties
AddedToOpenTelemetry
Whether the host's OpenTelemetry configuration collects it.
public bool AddedToOpenTelemetry { get; init; }
Property Value
Name
The source name.
public string Name { get; init; }
Property Value
SpansObserved
The spans from it the listener has observed since the process started.
public long SpansObserved { get; init; }
Property Value
Version
The source version.
public string? Version { get; init; }