Replies: 1 comment
-
|
injecting the Storage adapter is already handler by the package in config/prometheus.php updating cache Key did the job for me, |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
The need for using the Redis storage adapter may exist when users have deployed their Laravel application across multiple servers/instances (for example when using k8s). Using a shared storage adapter will prevent incorrect measurements.
laravel-prometheus/src/PrometheusServiceProvider.php
Line 36 in 7aa620d
InMemory()andRedis(). We can specify the adapter inconfig/prometheus.phpand reuse the Laravel Redis connection details or specify a custom connection.Beta Was this translation helpful? Give feedback.
All reactions