Code Monkey home page Code Monkey logo

Comments (9)

grobie avatar grobie commented on June 18, 2024

Anything in the logs of the memcached exporter?

from memcached_exporter.

jalberto avatar jalberto commented on June 18, 2024

the usual, but no errors

from memcached_exporter.

grobie avatar grobie commented on June 18, 2024

@jalberto where you able to figure out the problem?

from memcached_exporter.

pedep avatar pedep commented on June 18, 2024

I'm currently having the same issue.
prom/memcached-exporter:master + memcached:1.4.34.

I can extract stats manually as well, but when connecting to the exporter, i only get the memcached_up key.

from memcached_exporter.

grobie avatar grobie commented on June 18, 2024

Unfortunately, I haven't been able to reproduce the issue so far. Can you please post the commands including all flags and other config options you're using to start memcached and memcached exporter? Are you able to reproduce the issue by starting memcached and memcached_exporter in docker containers? That should make it easier to reproduce the issue for me.

from memcached_exporter.

pedep avatar pedep commented on June 18, 2024

Sorry, i solved the issue i was having.

I am using memcached-exporter in a docker swarm, and i had misconfigured the host/port it was connecting to.
The memcached_up=1 result led me to believe it successfully connected to the memcached instance, so i didn't think to look there.
After trying to reproduce in an isolated docker environment, i couldn't reproduce the issue, so i had a look, and it turned out i was trying to connect to the wrong docker alias.
Changing to correct hostname fixed the problem.

from memcached_exporter.

pedep avatar pedep commented on June 18, 2024

i think the memcached_up=1 stat being returned when the server is down / not found is an actual bug though..

docker run -d -p 9150:9150 prom/memcached-exporter --memcached.address idontexist:11211

curl localhost:9150/metrics | grep memcached

# HELP memcached_up Could the memcached server be reached.
# TYPE memcached_up gauge
memcached_up 1

from memcached_exporter.

grobie avatar grobie commented on June 18, 2024

from memcached_exporter.

pedep avatar pedep commented on June 18, 2024

Cheers, and thanks for your quick answers 😄

from memcached_exporter.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.