Hi,

memcached does not natively support Prometheus metrics, so you will have to
run the memcached exporter
<https://github.com/prometheus/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

On Tue, Jun 16, 2020 at 10:16 AM Anoop <[email protected]> wrote:

> 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/scrape,
>    prometheus.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
>
> --
> 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 [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/prometheus-users/83a2eee8-aa48-4693-abac-d1f85b4bfaf1o%40googlegroups.com
> <https://groups.google.com/d/msgid/prometheus-users/83a2eee8-aa48-4693-abac-d1f85b4bfaf1o%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>

-- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/prometheus-users/CAMV%3D_gatX_PX9_Jtpw%2B90hZrguHPN8aAtnGL9oV0ureDizQ%3Dnw%40mail.gmail.com.

Reply via email to