GithubHelp home page GithubHelp logo

Comments (7)

oliver006 avatar oliver006 commented on August 27, 2024

Interesting, let me look into that.

from redis_exporter.

oliver006 avatar oliver006 commented on August 27, 2024

@iwinux I pushed up commit e4cf9c9 that adds a gauge for redis_config_maxmemory so you can create a metric that uses used_memory and maxmemory to calculate usage percentage.
Let me know if that works for you.

from redis_exporter.

iwinux avatar iwinux commented on August 27, 2024

Thanks :)

I will try this out later and reply back soon.

from redis_exporter.

iwinux avatar iwinux commented on August 27, 2024

Hi,

Sorry for the late reply.

CONFIG GET maxmemory would not work as expected, because command CONFIG of our Redis instances are renamed with secret prefixes (to prevent mis-operation).

from redis_exporter.

Cas-pian avatar Cas-pian commented on August 27, 2024

Seems the maxmemory metric is missing from the newest version? The commit is not included?

from redis_exporter.

oliver006 avatar oliver006 commented on August 27, 2024

Ah, interesting. Looks like this got removed in April 2017 via #64
and now the metric is available via redis_memory_max_bytes (but only Redis versions that expose that info via CONFIG).
There's an open issue for this here: #82

Let me see if I can find some time over the next few days/weeks to bring back support for the config_ metrics.

from redis_exporter.

Cas-pian avatar Cas-pian commented on August 27, 2024

En, seems AWS INFO GET doesnot have maxmemory , but for common redis it works. Seems it's better to retrive the data in different way?

from redis_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.