Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

need redis 2.8 maxmemory support #82

Closed
itbdw opened this issue Jun 24, 2017 · 3 comments
Closed

need redis 2.8 maxmemory support #82

itbdw opened this issue Jun 24, 2017 · 3 comments

Comments

@itbdw
Copy link

itbdw commented Jun 24, 2017

Hi, Im using old redis version 2.8 and there is no maxmemory in the INFO result. What about use "CONFIG GET maxmemory" on old redis version?

@itbdw itbdw changed the title redis_memory_max_bytes does not exists? need redis 2.8 maxmemory support Jun 24, 2017
@oliver006
Copy link
Owner

Yeah, seems like not all Redis versions have maxmemory in INFO (just tried on an older redis v3.0.6 and it's not there either)

@itbdw
Copy link
Author

itbdw commented Jun 26, 2017

If we can not get maxmemory in INFO, then call CONFIG GET maxmemory once seems to be a good idea, regardless of version problems.

@oliver006
Copy link
Owner

This should be fixed by https://github.com/oliver006/redis_exporter/releases/tag/v0.14

You can now use the redis_config_maxmemory metric which should work for older Redis versions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants