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

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