Replies: 1 comment
-
|
Feel free to send a PR |
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.
-
Description
The current implementation of
spatie/laravel-prometheusincludes support for Gauge metrics, as exemplified by thePrometheus::addGaugemethod. However, there is no equivalent support for Counter metrics.Use Case
This feature would be beneficial for scenarios where it is necessary to count occurrences of certain events, rather than measuring their current value or state, which is what Gauge metrics do.
Potential Implementation
A possible implementation approach could be similar to how Gauges are handled but tailored for the specific nature of Counter metrics.
I believe this addition would enhance the versatility of the package and provide users with a more comprehensive set of tools for Prometheus metrics in Laravel.
Beta Was this translation helpful? Give feedback.
All reactions