numaproj / numalogic-prometheus

AIOps for metrics in Prometheus
Apache License 2.0
32 stars 10 forks source link

Custom redis client to catch exceptions #116

Open ab93 opened 1 year ago

ab93 commented 1 year ago

Currently, it is necessary to catch the redis exceptions. However, we need to catch them each time we call it. A better option would be to define a custom redis client that can wrap these exceptions in every call.