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

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