autometrics-dev / autometrics-ts

Easily add metrics to your system – and actually understand them using automatically customized Prometheus queries

Home Page:https://autometrics.dev

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Replace the histogram measurement unit into seconds according to spec

keturiosakys opened this issue · comments

Autometrics spec mandates using seconds to observe the function latency - this library currently uses milliseconds.

Ref: https://github.com/autometrics-dev/autometrics-shared/blob/f6f084ad1391ed1ad9de5c484cfa836a8311fcf6/SPEC.md?plain=1#L92