-
-
Notifications
You must be signed in to change notification settings - Fork 2.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Metrics collection for Services #2
Comments
I suggest implementing prometheus metrics which are used by most companies for production server monitoring. |
@lunemec I can see why you brought that point up in this thread. However, I didn't intend for this thread to be about log formats. Ideally, if we get the in memory model/code interface for Metrics correct, any application should be able to format those objects to the logs in any way they need. To be more explicit:
On topic: The model/interface/implementation of Metrics.
|
Oh, sorry you are right, this is about a way to collect all these metrics (generally) ... |
I had always hoped this day would come https://github.com/posix4e/rust-metrics. The library is really fine grained. You only need Prometheus if you want them. I'm also happy to donate this code or adapt it as people wish. |
Hello everyone @durch is happy to help do this... |
Closing this due to inactivity. I would say that this behavior can probably be implemented in a standalone crate and mature separately. |
Great!
On Wed, Oct 25, 2017 at 12:28 PM Carl Lerche ***@***.***> wrote:
Closing this due to inactivity. I would say that this behavior can
probably be implemented in a standalone crate and mature separately.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#2 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/AAxN2y1tR7S301ZXbKw9kIxR5VFL_v-1ks5sv4vugaJpZM4KbmMx>
.
--
Sent from a chromebook 4045076749
Alex Newman
|
I know this will not be looked at for a while, and this might get moved to a different repo, but I wanted to get my thoughts written down.
I'd love to get more thoughts on two things:
Future
?This feels really awkward, and it breaks the fluency of Futures with
.map
and such. What other options do we have? Given the nature of Futures (i.e. long tasks), and the importance of metrics, it could make sense to bake in Metrics into the Future trait, but that may not be possible in a zero-cost way. Does it make sense for Tokio-Service to implement its own Future which has Metrics built-in?The text was updated successfully, but these errors were encountered: