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