Couchbase .NET SDK | 3.7.2
Search Results for

    Show / Hide Table of Contents

    Class OuterRequestSpans.Attributes

    Span attributes for the outer-request span

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

    Fields

    | Edit this page 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
    | Edit this page 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
    | Edit this page 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
    | Edit this page 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
    | Edit this page 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
    | Edit this page View Source

    Outcome

    The outcome of the operation.

    Declaration
    public const string Outcome = "outcome"
    Field Value
    Type Description
    string
    | Edit this page 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
    | Edit this page 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
    | Edit this page 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
    | Edit this page 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

    | Edit this page 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>
    • Edit this page
    • View Source
    In this article
    Back to top © 2025 Couchbase, Inc.