hynek / prometheus-async

Async Python helpers for the official prometheus-client.

Home Page:https://prometheus-async.readthedocs.io/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Support for `Counter`?

amitsaha opened this issue · comments

Hello, apologies if I missed it, but it doesn't seem like there is support yet for the Counter metric type?

Sorry for the late response!

I wasn’t aware I can use a counter as a decorator, but do we actually need to support it? There’s count_exceptions and track_inprogress that need to take async into account. A counter just has to count up whenever something happens?