OpenTelemetry Bot d680729c09 [chore] Prepare release 0.90.0 (#29543) hai 1 ano
..
internal 91643ba261 [mdatagen] allow adding resource_attribute warnings (#27257) hai 1 ano
testdata cd91fb4789 [chore][golden] Normal timestamps in golden metric files (#23002) hai 1 ano
Makefile 0a0e7e93ea [receiver/couchdb] Initialize component (#6815) %!s(int64=3) %!d(string=hai) anos
README.md 562dc48d10 Link component issue badges to the respective issue page (#24642) hai 1 ano
client.go f4c44858b5 [all][chore] Moved from interface{} to any for all go code (#29072) hai 1 ano
client_test.go f4c44858b5 [all][chore] Moved from interface{} to any for all go code (#29072) hai 1 ano
config.go 5550060f3d [receiver/couchdb] Change the type of `Config.Password` to be `configopaque.String` (#23833) hai 1 ano
config_test.go 158ee0e040 [chore] Update tests to include scraper settings (#24653) hai 1 ano
doc.go 5133f4ccd6 [chore] use license shortform (#22052) hai 1 ano
documentation.md 252b3a0c6b [chore] Metadata inconsistencies (#21915) hai 1 ano
factory.go 2c5577b0d7 [chore] updating scrapers to use default method from scraperhelper (#22138) hai 1 ano
factory_test.go 5133f4ccd6 [chore] use license shortform (#22052) hai 1 ano
go.mod d680729c09 [chore] Prepare release 0.90.0 (#29543) hai 1 ano
go.sum 40b485f08a Update core for v0.90.0 release (#29539) hai 1 ano
metadata.yaml 326d0261f9 [cmd/mdatagen] Rename aggregation to aggregation_temporality for sum metrics (#24808) hai 1 ano
metrics.go f4c44858b5 [all][chore] Moved from interface{} to any for all go code (#29072) hai 1 ano
scraper.go 29ea5a964d [cmd/mdatagen] Avoid reusing the same ResourceBuilder instance (#24762) hai 1 ano
scraper_test.go f4c44858b5 [all][chore] Moved from interface{} to any for all go code (#29072) hai 1 ano

README.md

CouchDB Receiver

Status
Stability beta: metrics
Distributions contrib, observiq, sumo
Issues Open issues Closed issues
Code Owners @djaglowski

This receiver fetches stats from a couchdb server using the /_node/{node-name}/_stats/couchdb endpoint.

Prerequisites

This receiver supports Couchdb versions 2.3+ and 3.1+.

Configuration

The following settings are required:

  • username
  • password

The following settings are optional:

  • 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 are ns, us (or µs), ms, s, m, h.

Example Configuration

receivers:
  couchdb:
    endpoint: http://localhost:5984
    username: otelu
    password: ${env:COUCHDB_PASSWORD}
    collection_interval: 60s

The full list of settings exposed for this receiver are documented here with detailed sample configurations here. TLS config is documented further under the opentelemetry collector's configtls package.

Metrics

Details about the metrics produced by this receiver can be found in metadata.yaml