prometheus-net.DotNetRuntime icon indicating copy to clipboard operation
prometheus-net.DotNetRuntime copied to clipboard

Expose collecting metrics as separate functionality

Open vhatsura opened this issue 4 years ago • 5 comments

Hey, @djluck. First of all, a huge thanks to your effort to make such great library. This is what was missing in dotnet community.

My question is quite simple: do you have plans to expose metrics collector functionality as a separate package? It will allow integrate such functionality with various profiling, metrics and performance monitoring tools. I will glad to hear your thoughts about it.

vhatsura avatar Oct 07 '19 08:10 vhatsura

Hey @vhatsura,

It would definitely be possible but it would require a bit of work on my part. Currently, the event consumption code is tightly coupled to some of the concepts of prometheus (histograms, labels + pull-based metrics to name a few). I'll have a think about how best to split this out.

djluck avatar Oct 07 '19 21:10 djluck

It's nice hear. If you need some help I will be appreciated to help you with such stuff.

vhatsura avatar Oct 08 '19 05:10 vhatsura

Thanks for the offer but I can't make any guarantees about when this work might even begin, let alone be completed. To do this right will take time.

djluck avatar Oct 08 '19 06:10 djluck

+1 to this, we are using graphite for metrics and couldn't find any implementation of those collectors other than in this repo. Would be nice if the collectors were reusable somehow.

seif avatar Oct 16 '19 10:10 seif

I don't know if this helps you but as of V4, event collection and metrics production has now been separated- might be of use to you if I published the event collection as a separate library.

djluck avatar Mar 29 '21 23:03 djluck