Memcached

Metrics, Dashboards, Alerts and more for Memcached Integration in Sysdig Monitor.
Memcached

This integration is enabled by default.

Versions supported: > v1.5

This integration uses a sidecar exporter that is available in UBI or scratch base image.

This integration has 13 metrics.

Timeseries generated: 20 series per instance

List of Alerts

AlertDescriptionFormat
[Memcached] Instance DownInstance is not reachablePrometheus
[Memcached] Low UpTimeUptime of less than 1 hour in a Memcached instancePrometheus
[Memcached] Connection ThrottledConnection throttled because max number of requests per event process reachedPrometheus
[Memcached] Connections Close To The Limit 85%The mumber of connections are close to the limitPrometheus
[Memcached] Connections Limit ReachedReached the number of maximum connections and caused a connection errorPrometheus

List of Dashboards

Memcached

The dashboard provides information on the status and performance of the Memcached instance. Memcached

List of Metrics

Metric name
memcached_commands_total
memcached_connections_listener_disabled_total
memcached_connections_yielded_total
memcached_current_bytes
memcached_current_connections
memcached_current_items
memcached_items_evicted_total
memcached_items_reclaimed_total
memcached_items_total
memcached_limit_bytes
memcached_max_connections
memcached_up
memcached_uptime_seconds

Prerequisites

None.

Installation

An automated wizard is present in the Monitoring Integrations in Sysdig Monitor. Expert users can also use the Helm chart for installation: https://github.com/sysdiglabs/integrations-charts/tree/main/charts/memcached-exporter

Agent Configuration

The default agent job for this integration is as follows:

- job_name: memcached-default
  tls_config:
    insecure_skip_verify: true
  kubernetes_sd_configs:
  - role: pod
  relabel_configs:
  - action: keep
    source_labels: [__meta_kubernetes_pod_host_ip]
    regex: __HOSTIPS__
  - action: keep
    source_labels:
    - __meta_kubernetes_pod_annotation_promcat_sysdig_com_integration_type
    regex: "memcached"
  - source_labels: [__meta_kubernetes_pod_phase]
    action: keep
    regex: Running
  - action: replace
    source_labels: [__address__, __meta_kubernetes_pod_annotation_promcat_sysdig_com_port]
    regex: ([^:]+)(?::\d+)?;(\d+)
    replacement: $1:$2
    target_label: __address__
  - action: replace
    source_labels: [__meta_kubernetes_pod_uid]
    target_label: sysdig_k8s_pod_uid
  - action: replace
    source_labels: [__meta_kubernetes_pod_container_name]
    target_label: sysdig_k8s_pod_container_name
  metric_relabel_configs:
  - source_labels: [__name__]
    regex: (memcached_commands_total|memcached_connections_listener_disabled_total|memcached_connections_yielded_total|memcached_current_bytes|memcached_current_connections|memcached_current_items|memcached_items_evicted_total|memcached_items_reclaimed_total|memcached_items_total|memcached_limit_bytes|memcached_max_connections|memcached_up|memcached_uptime_seconds)
    action: keep