opennetworkinglab / aether-amp

1 stars 8 forks source link

Add download bandwidth metric to UPF Subscribers #5

Closed dot-1q closed 10 months ago

dot-1q commented 10 months ago

This PR add the download bandwidth metrics to the Grafana dashboard. Although the metric exported by the UPF has the name upf_session_tx_bytes (which would indicate only tx stream is being measured), in actuality, for each UE session, the UPF exports two PDR labels, one for the uplink and other for the downlink flow.

The pair of PDR labels values are increased for each session created, but the even/odd values always represent the download/upload flow respectively, so the query filters these values via REGEX pattern.

Preview of the Dashboard:

Screenshot 2024-01-10 at 15 49 25

Note: Also added the ansible.cfg file that was missing from the repo.