Supported telemetry types
The Memcached integration supports these telemetry types:Prerequisites
The Memcached integration has the following prerequisites:- A Memcached server that listens on a TCP port the collector can reach. Unix domain sockets aren’t supported.
- A Memcached server that accepts unauthenticated connections. The integration uses
the plain-text
statscommand and doesn’t support servers that require Simple Authentication and Security Layer (SASL) authentication.
Configure
To configure the Memcached integration, follow these steps:-
For Memcached pods that listen on port
11211, add theapp.kubernetes.io/name: memcachedlabel to the pod template. For other instances, provide the server address and port through autodiscovery annotations. For more information, see autodiscovery. -
Optional: Configure static targets for Memcached servers that autodiscovery doesn’t
reach. For example, add the following to the
values.yamlfor your Helm chart:
Validate
To validate the Memcached integration, follow these steps:-
In the Live Telemetry Analyzer, filter for
cxdot.integration.name=memcached. Confirm that the Memcached metric names appear. -
In Metrics Explorer, run the following query:
Confirm that the query returns the expected time series for each target.
Configuration reference
Configure one Memcached integration instance with the following settings. In Helm values, place these settings underconfig.integrations.memcached. In a Collector configuration file, place
them under cxdot.integrations.memcached.
Optional settings
-
enabledType:boolean. Optional. Default:true. Whether to run the Memcached integration. If true, the Collector collects Memcached metrics. If false, the Collector doesn’t run this integration. -
endpointsType:array of object. Optional. Static Memcached targets. Each entry’sendpointishost:port, for example,memcached.default.svc:11211. When this list isn’t empty, the integration collects from exactly these targets instead of discovered targets. The integration uses the plain-textstatscommand and doesn’t support servers that require authentication. -
endpoints[].endpointType:string. Required. Memcached target inhost:portformat. -
collection_intervalType:duration. Optional. Default:10s. Time between metric collections from each Memcached target. -
timeoutType:duration. Optional. Default:10s. Maximum time to wait for each Memcached metric collection.

