Couchbase .NET SDK __CB_SDK_VERSION__

Show / Hide Table of Contents

Class OuterRequestSpans.Attributes

Span attributes for the outer-request span

Inheritance
object
OuterRequestSpans.Attributes
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.Tracing
Assembly: Couchbase.NetClient.dll
Syntax
public static class OuterRequestSpans.Attributes

Fields

View Source

BucketName

This attribute is a standard OpenTelemetry attribute and should be placed on all operations which are at the bucket level or below.

Declaration
public const string BucketName = "db.name"
Field Value
Type Description
string
View Source

ClusterName

Should be set on every span if the value was provided by the server.

Declaration
public const string ClusterName = "db.couchbase.cluster_name"
Field Value
Type Description
string
View Source

ClusterUuid

Should be set on every span if the value was provided by the server.

Declaration
public const string ClusterUuid = "db.couchbase.cluster_uuid"
Field Value
Type Description
string
View Source

CollectionName

Should be placed on all operations which are at the collection level.

Declaration
public const string CollectionName = "db.couchbase.collection"
Field Value
Type Description
string
View Source

Operation

This attribute is a standard OpenTelemetry attribute and should be placed on all operations which do NOT have the db.statement set.

Declaration
public const string Operation = "db.operation"
Field Value
Type Description
string
View Source

Outcome

The outcome of the operation.

Declaration
public const string Outcome = "outcome"
Field Value
Type Description
string
View Source

ResponseStatus

The status code for an individual response from a couchbase node.

Declaration
public const string ResponseStatus = "db.couchbase.response.status"
Field Value
Type Description
string
View Source

Retries

The number of retry attempts for the operation.

Declaration
public const string Retries = "db.couchbase.retries"
Field Value
Type Description
string
View Source

ScopeName

Should be placed on all operations which are at the scope level or below and on manager operations that touch a single scope (especially on the CollectionManager).

Declaration
public const string ScopeName = "db.couchbase.scope"
Field Value
Type Description
string
View Source

Service

Each outer request should set an attribute that classifies the service

Declaration
public const string Service = "db.couchbase.service"
Field Value
Type Description
string
View Source

Statement

This attribute is a standard OpenTelemetry attribute and should be placed on N1QL and analytics operations.

Declaration
public const string Statement = "db.statement"
Field Value
Type Description
string

Properties

View Source

System

This attribute is a standard OpenTelemetry attribute and should be placed on all spans to uniquely identify them for couchbase.

Declaration
public static KeyValuePair<string, string> System { get; }
Property Value
Type Description
KeyValuePair<string, string>
  • View Source
In this article
Back to top Copyright © 2020 Couchbase, Inc. All rights reserved.