KxSystems / prometheus-kdb-exporter

Kdb+ exporter for Prometheus
https://code.kx.com/q/interfaces
Apache License 2.0
17 stars 9 forks source link

Measuring request times 10e-9 #12

Closed andrewmorrison1 closed 3 years ago

andrewmorrison1 commented 3 years ago

If we want to measure the number of seconds a request takes I think it should be

tm:(1e-9)*.z.p-tmp

on line 114 of q/exporter.q

compared with what we have its 10e-9, but this is tens of seconds, i.e. 0D00:00:01.000000*10e-9 equals 10f not 1f.

cmccarthy1 commented 3 years ago

This is closed by #13