<PackageReference Include="OpenTelemetry" Version="1.11.2" />

OpenTelemetry.Sdk

public static class Sdk
OpenTelemetry helper.
public static bool SuppressInstrumentation { get; }

Gets a value indicating whether instrumentation is suppressed (disabled).

public static MeterProviderBuilder CreateMeterProviderBuilder()

Creates a MeterProviderBuilder which is used to build a MeterProvider. In a typical application, a single MeterProvider is created at application startup and disposed at application shutdown. It is important to ensure that the provider is not disposed too early.

public static TracerProviderBuilder CreateTracerProviderBuilder()

Creates a TracerProviderBuilder which is used to build a TracerProvider. In a typical application, a single TracerProvider is created at application startup and disposed at application shutdown. It is important to ensure that the provider is not disposed too early.

public static void SetDefaultTextMapPropagator(TextMapPropagator textMapPropagator)

Sets the Default TextMapPropagator.