Couchdb Receiver
contrib
Maintainers: @antonblock
Source: opentelemetry-collector-contrib
Supported Telemetry
Overview
Prerequisites
This receiver supports CouchDB versions2.3+ and 3.1+.
Configuration
The following settings are required:usernamepassword
-
endpoint(default:http://localhost:5984): The URL of the CouchDB endpoint -
collection_interval(default =60s): This receiver collects metrics on an interval. This value must be a string readable by Golang’s time.ParseDuration. Valid time units arens,us(orµs),ms,s,m,h.
Example Configuration
Metrics
Details about the metrics produced by this receiver can be found in metadata.yamlMetrics
| Metric Name | Description | Unit | Type | Attributes |
|---|---|---|---|---|
✅ couchdb.average_request_time | The average duration of a served request. | ms | Gauge | |
✅ couchdb.database.open | The number of open databases. | {databases} | UpDownCounter | |
✅ couchdb.database.operations | The number of database operations. | {operations} | Counter | operation |
✅ couchdb.file_descriptor.open | The number of open file descriptors. | {files} | UpDownCounter | |
✅ couchdb.httpd.bulk_requests | The number of bulk requests. | {requests} | Counter | |
✅ couchdb.httpd.requests | The number of HTTP requests by method. | {requests} | Counter | http.method |
✅ couchdb.httpd.responses | The number of each HTTP status code. | {responses} | Counter | http.status_code |
✅ couchdb.httpd.views | The number of views read. | {views} | Counter | view |
Attributes
| Attribute Name | Description | Type | Values |
|---|---|---|---|
http.method | An HTTP request method. | string | COPY, DELETE, GET, HEAD, OPTIONS, POST, PUT |
http.status_code | An HTTP status code. | string | |
operation | The operation type. | string | writes, reads |
view | The view type. | string | temporary_view_reads, view_reads |
Resource Attributes
| Attribute Name | Description | Type | Enabled |
|---|---|---|---|
couchdb.node.name | The name of the node. | string | ✅ |
Configuration
Example Configuration
Last generated: 2026-04-13