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
Alert | Description | Format |
---|---|---|
[Memcached] Instance Down | Instance is not reachable | Prometheus |
[Memcached] Low UpTime | Uptime of less than 1 hour in a Memcached instance | Prometheus |
[Memcached] Connection Throttled | Connection throttled because max number of requests per event process reached | Prometheus |
[Memcached] Connections Close To The Limit 85% | The mumber of connections are close to the limit | Prometheus |
[Memcached] Connections Limit Reached | Reached the number of maximum connections and caused a connection error | Prometheus |
List of Dashboards
Memcached
The dashboard provides information on the status and performance of the Memcached instance.
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 |
Preparing the Integration
No preparations are required for this integration.
Installing
An automated wizard is present in the Monitoring Integrations in Sysdig Monitor. However, you can also use this Helm chart for expert users: https://github.com/sysdiglabs/integrations-charts/tree/main/charts/memcached-exporter
Agents Configuration
This is the default agent job for this integration:
- 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
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.