sipcapture / heplify-server

HEP Capture Server for HOMER
https://sipcapture.org
GNU Affero General Public License v3.0
184 stars 85 forks source link

additional hep-metrics for CST (call setup time - Time between SIP 200 and Initial INVITE) #326

Closed ivlovric closed 4 years ago

ivlovric commented 4 years ago

Hi!

Is there a possibility to have metric of call setup time that is measure between final response 200 OK and initial INVITE request?

Thanks a lot, I

lmangani commented 4 years ago

Hi @ivlovric Homer does not track individual transactions, unless you want to create monster recurring queries which I do not suggest. This feature is only available in hepic at this time.

negbie commented 4 years ago

@ivlovric that's already included in heplify-server but call setup time is measured for the first 180 or 183 response. So if you want 200 remove 180 and 183 in this line https://github.com/sipcapture/heplify-server/blob/master/metric/prometheus.go#L112

negbie commented 4 years ago

Metric names are heplify_kpi_srd and heplify_kpi_rrd