Table of Contents

Class TelemetryFilterOptions

Namespace
Temporalio.Runtime
Assembly
Temporalio.dll

A telemetry filter used in logging and tracing. FilterString is required.

public class TelemetryFilterOptions : ICloneable
Inheritance
TelemetryFilterOptions
Implements
Inherited Members

Constructors

TelemetryFilterOptions(string)

Initializes a new instance of the TelemetryFilterOptions class.

public TelemetryFilterOptions(string filterString)

Parameters

filterString string

FilterString.

TelemetryFilterOptions(Level, Level)

Initializes a new instance of the TelemetryFilterOptions class.

public TelemetryFilterOptions(TelemetryFilterOptions.Level core = Level.Warn, TelemetryFilterOptions.Level other = Level.Error)

Parameters

core TelemetryFilterOptions.Level

Core level.

other TelemetryFilterOptions.Level

Non-core level.

Properties

FilterString

Gets or sets the filter string for telemetry filters.

public string? FilterString { get; set; }

Property Value

string

Remarks

This is in the Rust log format. For example, "temporal_sdk_core=DEBUG" sets the level to DEBUG for the temporal_sdk_core Rust crate.

Methods

Clone()

Create a shallow copy of these options.

public virtual object Clone()

Returns

object

A shallow copy of these options.