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

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