Semantic Conventions for CouchDB
Status: Experimental
The Semantic Conventions for CouchDB extend and override the Database Semantic Conventions that describe common database operations attributes in addition to the Semantic Conventions described on this page.
db.system
MUST be set to "couchdb"
.
Call-level attributes
Attribute | Type | Description | Examples | Requirement Level |
---|---|---|---|---|
db.operation | string | The HTTP method + the target REST route. [1] | GET /{db}/{docid} | Conditionally Required: If db.statement is not applicable. |
[1]: In CouchDB, db.operation
should be set to the HTTP method + the target REST route according to the API reference documentation. For example, when retrieving a document, db.operation
would be set to (literally, i.e., without replacing the placeholders with concrete values): GET /{db}/{docid}
.