Memcached Monitoring

20 views
Skip to first unread message

Anoop

unread,
Jun 16, 2020, 6:16:18 AM6/16/20
to Prometheus Users
Hi,

Could someone please advise how can I enable monitoring for memcached, which is already running in k8s environment?
I am using deployment and service configurations for memcached. So, my questions are:

  1. Can I enable monitoring by adding annotations (prometheus.io/scrapeprometheus.io/scrape_port) to the service?  
  2. Should I deploy any exporters as pod in k8s environment? Please provide the details, if there are any sample deployment available.

Please provide the details if any doc related to this available? 

Thanks

Matthias Rampke

unread,
Jun 26, 2020, 12:06:21 PM6/26/20
to Anoop, Prometheus Users
Hi,

memcached does not natively support Prometheus metrics, so you will have to run the memcached exporter as a sidecar (additional container in the pod). Let the exporter reach memcached over localhost, and add the scrape annotations to have Prometheus scrape the exporter's port.

I am not aware of an end-to-end guide to this, you will have to piece it together from the Prometheus and Kubernetes documentation.

/MR

--
You received this message because you are subscribed to the Google Groups "Prometheus Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to prometheus-use...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/prometheus-users/83a2eee8-aa48-4693-abac-d1f85b4bfaf1o%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages