Class ObservabilitySemanticConventionParser
Parser for the OTEL_SEMCONV_STABILITY_OPT_IN environment variable.
Inherited Members
Namespace: Couchbase.Core.Diagnostics
Assembly: Couchbase.NetClient.dll
Syntax
public static class ObservabilitySemanticConventionParser
Methods
| Edit this page View SourceFromEnvironment()
Get the current observability semantic convention mode from the environment variable. The result is cached after the first call.
Declaration
public static ObservabilitySemanticConvention FromEnvironment()
Returns
| Type | Description |
|---|---|
| ObservabilitySemanticConvention | ObservabilitySemanticConvention from the environment, or Legacy by default. |