-
Notifications
You must be signed in to change notification settings - Fork 859
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
Error 500 on /metrics page with Google Cloud Memorystore #315
Comments
Thanks for the detailed bug report, that's much appreciated. From the log output, I can't really tell why it's failing. In fact, seeing |
There is no more output or stack trace. I think the issue can be related the issue #13 . I have full access to Google Cloud Memorystore and ready to make tests if you want. |
Thanks. You're right, some cloud redis instances don't allow for certain But what still throws me off is that When you observe the 500, is that via curl/wget or in the prometheus targets page? |
With Prometheus: With wget (debug activated):
wget with debug mode shows more relevant information ! |
Great, I see the error now:
Let me dig into why this metric is being collected twice. |
Ugh, I see it now, there's a section called |
Glad to read that the problem is identified. So what are the options to fix that? |
I was thinking about keeping track of what was recorded already, I'll try to code something up over the next couple of days. |
Great news ! |
I opened PR #318 to fix this. |
@oliver006 I had the same problem. I just tested it and it worked :) |
Thanks for the feedback @adrilo - merging. |
Hi, Sorry I couldn't answer earlier.
|
Thanks for the report. |
No problem. |
I think I can fix this by using @Shini31 - I build and pushed up docker image |
Great news !!
|
Ok, thanks for your help, that's great. Let me get the fix in and cut a new release. |
Thank you for your helpfulness and determination. |
Facing same issue still in v1.9.0 CentOS 7 for Redis 4.0 This will exit after sometime, maybe due to the ERROR in output.
|
Did you try using the |
Thanks. This is the fix. It's working! |
Describe the problem
Redis_exporter is configured to monitor Google Cloud Memorystore based on Redis.
When i try to get the /metrics page, i have an error 500 as result.
EDIT:
The CONFIG command is blocked by Google in their redis version
What version of redis_exporter are you running?
[ ] 0.3x.x
[X] 1.x.x
https://github.com/oliver006/redis_exporter/releases/download/v1.2.1/redis_exporter-v1.2.1.linux-amd64.tar.gz
Running the exporter
/usr/local/bin/redis_exporter --redis-only-metrics --include-system-metrics --redis.addr=X.X.X.X
Expected behavior
The /metrics page available and accessible.
EDIT:
Do not throw an exception if the CONFIG command or another doesn't work
Did you upgrade from 0.3x.x to 1.0 and are scraping multiple hosts?
No
Screenshots
Log with debug parameter
The text was updated successfully, but these errors were encountered: