OpenTelemetry Bot d680729c09 [chore] Prepare release 0.90.0 (#29543) 1 vuosi sitten
..
internal 91643ba261 [mdatagen] allow adding resource_attribute warnings (#27257) 1 vuosi sitten
testdata cd91fb4789 [chore][golden] Normal timestamps in golden metric files (#23002) 1 vuosi sitten
Makefile 8662fd61a7 Memcached Receiver Skeleton (#1414) 4 vuotta sitten
README.md 562dc48d10 Link component issue badges to the respective issue page (#24642) 1 vuosi sitten
client.go 5133f4ccd6 [chore] use license shortform (#22052) 1 vuosi sitten
client_mock_test.go 5133f4ccd6 [chore] use license shortform (#22052) 1 vuosi sitten
config.go 31d7a6c949 [receiver/memcached] remove duplicate Timeout setting (#26084) 1 vuosi sitten
config_test.go 5133f4ccd6 [chore] use license shortform (#22052) 1 vuosi sitten
doc.go 5133f4ccd6 [chore] use license shortform (#22052) 1 vuosi sitten
documentation.md 1d124cfa27 [chore] use metadata.Type with memcachedreceiver (#21988) 1 vuosi sitten
factory.go 31d7a6c949 [receiver/memcached] remove duplicate Timeout setting (#26084) 1 vuosi sitten
factory_test.go 4a0ea8e961 [chore] Improving life cycle tests reporting (#23145) 1 vuosi sitten
go.mod d680729c09 [chore] Prepare release 0.90.0 (#29543) 1 vuosi sitten
go.sum 40b485f08a Update core for v0.90.0 release (#29539) 1 vuosi sitten
integration_test.go 16340a33c4 [chore] Use port constant in memcached test (#22803) 1 vuosi sitten
metadata.yaml 326d0261f9 [cmd/mdatagen] Rename aggregation to aggregation_temporality for sum metrics (#24808) 1 vuosi sitten
scraper.go 5133f4ccd6 [chore] use license shortform (#22052) 1 vuosi sitten
scraper_test.go cd92432fd2 [pkg/golden] internal/coreinternal/golden -> pkg/golden (#28636) 1 vuosi sitten

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