PromPHP / prometheus_client_php

Prometheus instrumentation library for PHP applications
https://prometheus.io/docs/concepts/metric_types/
Apache License 2.0
434 stars 96 forks source link

Redis Sentinel? #95

Open tomb1n0 opened 2 years ago

tomb1n0 commented 2 years ago

Is there any guidance on how to configure this library to work with Redis Sentinel?

Our infrastructure makes use of this for high availability reasons, we have 3 separate nodes for this.

LKaemmerling commented 2 years ago

Hey @tomb1n0,

there is currently no easy way to do so. We simply don't support it at the moment. If you would have time, maybe this would be a great opportunity to contribute :) I'm willing to accept any contributions in this area.

tomb1n0 commented 2 years ago

Hey @LKaemmerling

Thanks for the speedy response! I was afraid that was going to be your answer 😅

If i get some time i will see what's involved, thanks again.

Jacq commented 1 year ago

What about this fork? https://github.com/ml65/prometheus_client_php

It looks that includes the sentinel support to this package