prometheus-postgresql-adapter icon indicating copy to clipboard operation
prometheus-postgresql-adapter copied to clipboard

Http Request Duration Histogram should be in seconds unit

Open Zslow opened this issue 5 years ago • 2 comments

Hi, I changed the units of the Http Request Duration Histogram to Seconds. Here's a link to the official Prometheus documentation where states that base units should be used for any metric, as a best practice.

https://prometheus.io/docs/practices/naming/#metric-names

We are testing this adapter on a project and needed the metric with the right unit in order to know if http requests are being lost.

Thank You.

Zslow avatar Feb 20 '20 09:02 Zslow

Codecov Report

Merging #106 into master will not change coverage. The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master     #106   +/-   ##
=======================================
  Coverage   13.18%   13.18%           
=======================================
  Files           4        4           
  Lines         622      622           
=======================================
  Hits           82       82           
  Misses        525      525           
  Partials       15       15

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 7b6d240...2c2f8fd. Read the comment docs.

codecov[bot] avatar Feb 20 '20 09:02 codecov[bot]

CLA assistant check
All committers have signed the CLA.

CLAassistant avatar Mar 04 '20 14:03 CLAassistant