Couchbase .NET SDK __CB_SDK_VERSION__

Show / Hide Table of Contents

Class ObservabilitySemanticConventionParser

Parser for the OTEL_SEMCONV_STABILITY_OPT_IN environment variable.

Inheritance
object
ObservabilitySemanticConventionParser
Inherited Members
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: Couchbase.Core.Diagnostics
Assembly: Couchbase.NetClient.dll
Syntax
public static class ObservabilitySemanticConventionParser

Methods

View Source

FromEnvironment()

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.

  • View Source
In this article
Back to top Copyright © 2020 Couchbase, Inc. All rights reserved.