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

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