bull_exporter icon indicating copy to clipboard operation
bull_exporter copied to clipboard

Metrics from cloud redis are not collected

Open avkopylov opened this issue 5 years ago • 3 comments

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!

avkopylov avatar Jul 24 '19 14:07 avkopylov

Did you ever get resolution on this?

TroyMorvant avatar Jan 21 '20 20:01 TroyMorvant

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.

gargamile avatar Jun 29 '20 23:06 gargamile

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.

ankitkrsahu94 avatar Oct 08 '21 07:10 ankitkrsahu94