Class OuterRequestSpans.Attributes
Span attributes for the outer-request span
Inherited Members
Namespace: Couchbase.Core.Diagnostics.Tracing
Assembly: Couchbase.NetClient.dll
Syntax
public static class OuterRequestSpans.Attributes
Fields
| Edit this page View SourceBucketName
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 |
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 |
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 |
Outcome
The outcome of the operation.
Declaration
public const string Outcome = "outcome"
Field Value
Type | Description |
---|---|
string |
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 |
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 |
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 |
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 SourceSystem
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> |