Jimdo / prometheus_client_php

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

Fix errant keys in Redis scripts #111

Open garoose opened 5 years ago

garoose commented 5 years ago

The metric labels and command types were inappropriately specified as KEYS in the Redis scripts. This meant there was no way to avoid a CROSSSLOT Keys in request don't hash to the same slot error when using a Redis cluster that hashes keys to select a specific node.

garoose commented 5 years ago

Resolves: #110