hynek / prometheus-async

Async Python helpers for the official prometheus-client.
https://prometheus-async.readthedocs.io/
Apache License 2.0
159 stars 15 forks source link

add some code examples showing how to expose application metrics #5

Closed derwolfe closed 8 years ago

derwolfe commented 8 years ago

This adds some documentation and examples about how to surface metrics for twisted using prometheus_client

But, none of this is actually specific to prometheus_async, so I could certainly understand if you'd rather I open a PR/write a blog post elsewhere :). (The main reason I opened the PR here is I saw a TODO in the documentation).

Thanks for you work on this!

codecov-io commented 8 years ago

Current coverage is 98.09% (diff: 100%)

Merging #5 into master will not change coverage

@@             master         #5   diff @@
==========================================
  Files             8          8          
  Lines           263        263          
  Methods           0          0          
  Messages          0          0          
  Branches         13         13          
==========================================
  Hits            258        258          
  Misses            5          5          
  Partials          0          0          

Powered by Codecov. Last update 7ad32fe...14d959e

hynek commented 8 years ago

Awesome, thanks! I completely forgot about that construction site. :)