Class ProtoTraceOptions
public sealed class ProtoTraceOptions
- Inheritance
-
ProtoTraceOptions
- Inherited Members
- Extension Methods
Properties
ActivitySources
Names of activity sources whose spans are captured into the trace, such as an application's own instrumentation or any OpenTelemetry-aware library. Nothing ProtoTest-specific is required of them.
public IList<string> ActivitySources { get; }
Property Value
CaptureSourceLocations
Records where in the suite's code each operation started (code.file.path, code.line.number,
code.function.name), read from the stack and the suite's symbols. On by default.
public bool CaptureSourceLocations { get; set; }
Property Value
EmbedSources
Embeds the source files those locations point at in the trace, so the viewer can show the code around each operation. Turn it off when a trace leaves the people who may read the suite's code. On by default.
public bool EmbedSources { get; set; }
Property Value
Enabled
Enables automatic trace collection and export.
public bool Enabled { get; set; }
Property Value
OutputPath
Optional output file. When omitted, Core writes TestResults/prototest-{runId}.prototrace.
public string? OutputPath { get; set; }