sipcapture / homer

HOMER - 100% Open-Source SIP, VoIP, RTC Packet Capture & Monitoring
https://sipcapture.org
GNU Affero General Public License v3.0
1.61k stars 240 forks source link

Feature Request: Grafana QoS RTCP dashboard - heplify_rtcp_jitter and target_name label combination? #539

Open solarmon opened 2 years ago

solarmon commented 2 years ago

Hi,

I have RTCP HEP packets sent from rtpproxy in to Homer, which feeds in to Grafana.

I would like to customise the QoS RTCP dashboards so that I can get those stats on an individual or group of target hosts (as defined by PROMTARGETIP and PROMTARGETNAME for Homer)

In other dashboards that have queries that use the heplify_method_response label, I am able to use a target_name label combination to specify what targets to scope the query for. For example:

(sum(increase(heplify_method_response{target_name=~"(HOST1|HOST2|HOST3)", method="INVITE", response="200"}[5m])))

However, for the QoS RTCP dashboard query, it uses the heplify_rtcp_jitter label, but there is no target_name label combination allowed for it. So it cannot be scoped for certain targets.

Is it possible to have a heplify_rtcp_jitter and target_name label combination to be able to create specific QoS RTCP stats for certain individual or groups of target hosts?