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 8662fd61a7 Memcached Receiver Skeleton (#1414) před 4 roky
README.md 562dc48d10 Link component issue badges to the respective issue page (#24642) před 1 rokem
client.go 5133f4ccd6 [chore] use license shortform (#22052) před 1 rokem
client_mock_test.go 5133f4ccd6 [chore] use license shortform (#22052) před 1 rokem
config.go 31d7a6c949 [receiver/memcached] remove duplicate Timeout setting (#26084) před 1 rokem
config_test.go 5133f4ccd6 [chore] use license shortform (#22052) před 1 rokem
doc.go 5133f4ccd6 [chore] use license shortform (#22052) před 1 rokem
documentation.md 1d124cfa27 [chore] use metadata.Type with memcachedreceiver (#21988) před 1 rokem
factory.go 31d7a6c949 [receiver/memcached] remove duplicate Timeout setting (#26084) před 1 rokem
factory_test.go 4a0ea8e961 [chore] Improving life cycle tests reporting (#23145) 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
integration_test.go 16340a33c4 [chore] Use port constant in memcached test (#22803) před 1 rokem
metadata.yaml 326d0261f9 [cmd/mdatagen] Rename aggregation to aggregation_temporality for sum metrics (#24808) před 1 rokem
scraper.go 5133f4ccd6 [chore] use license shortform (#22052) před 1 rokem
scraper_test.go cd92432fd2 [pkg/golden] internal/coreinternal/golden -> pkg/golden (#28636) před 1 rokem

README.md

Memcached Receiver

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

This receiver can fetch stats from a Memcached instance using the stats command. A detailed description of all the stats available is at https://github.com/memcached/memcached/blob/master/doc/protocol.txt#L1159.

Details

Configuration

:information_source: This receiver is in beta and configuration fields are subject to change.

The following settings are required:

  • endpoint (default: localhost:11211): The hostname/IP address and port or, unix socket file path of the memcached instance

The following settings are optional:

  • collection_interval (default = 10s): This receiver runs on an interval. Each time it runs, it queries memcached, creates metrics, and sends them to the next consumer. The collection_interval configuration option tells this receiver the duration between runs. This value must be a string readable by Golang's ParseDuration function (example: 1h30m). Valid time units are ns, us (or µs), ms, s, m, h.
  • initial_delay (default = 1s): defines how long this receiver waits before starting.

Example:

receivers:
  memcached:
    endpoint: "localhost:11211"
    collection_interval: 10s

The full list of settings exposed for this receiver are documented here with detailed sample configurations here.

Metrics

Details about the metrics produced by this receiver can be found in metadata.yaml with further documentation in documentation.md