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

Metrics from cloud redis are not collected #96

Open
avkopylov opened this issue Jul 24, 2019 · 3 comments
Open

Metrics from cloud redis are not collected #96

avkopylov opened this issue Jul 24, 2019 · 3 comments

Comments

@avkopylov
Copy link

avkopylov commented Jul 24, 2019

Hi Gabriel,

I'm trying to setup the exporter to collect metrics from cloud redis deployment using full uri, like:
EXPORTER_REDIS_URL="redis://admin:XXXpassishereXXX@redis-14505.c15.eu-central-1-1.ec2.cloud.redislabs.com:10735/0"

But when I observe the exporter result, I see

# HELP bull_queue_completed Number of completed messages
# TYPE bull_queue_completed gauge

# HELP bull_queue_complete_duration Time to complete jobs
# TYPE bull_queue_complete_duration summary

# HELP bull_queue_active Number of active messages
# TYPE bull_queue_active gauge

# HELP bull_queue_delayed Number of delayed messages
# TYPE bull_queue_delayed gauge

# HELP bull_queue_failed Number of failed messages
# TYPE bull_queue_failed gauge

# HELP bull_queue_waiting Number of waiting messages
# TYPE bull_queue_waiting gauge

What means the metrics are not collected, and I suspect because of problems with redis connection.

Could you advise if full uri redis connection is supported and correct uri format if yes?
Thanks!

@TroyMorvant
Copy link

Did you ever get resolution on this?

@gargamile
Copy link

I encountered this same issue when scrapping redis service endpoints in EKS. Worked for the first 4.5 hours, then the Bull exporter restarted and started producing empty metrics.

I thought this may have been due to the Bull exporter starting before the Redis instance was ready to accept connections, so I added a readiness check of nc -zv my-redis:6379 to the Pod. However the Bull exporter is still producing these empty metrics values without any errors to indicate why.

@ankitkrsahu94
Copy link

I faced similar issue before, please ensure that you're using correct redis db for your metrics and EXPORTER_PREFIX, EXPORTER_QUEUES are set as expected.

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

4 participants