open5gs/src
Gaber Stare 4c76a254ee [AMF] Add RM metrics support
Expose RM metrics with labels according to ETSI TS 128 552 V16.13.0 in
AMF by using hash.

The metrics are named respecting the rule:
<generation>_<measurement_object_class>_<measurement_family_name>_<metric_name_as_in_TS_128_552>

Since slice itself is not unique, the plmnid label is exposed in
addition to snssai.

RegInitFail is exposed as an alternative to RegInitReq and RegInitSucc
counters so cause label can be provided. It counts rejected registrations
and rejected authentications.
Rejected authentications are counted under label cause="0".

Exposed metrics example:
-standard gauge:
fivegs_amffunction_rm_registeredsubnbr{plmnid="00101",snssai="1000009"} 1

-nonstandard counter:
fivegs_amffunction_rm_reginitfail{cause="3"} 4
2022-12-08 20:57:11 +09:00
..
amf [AMF] Add RM metrics support 2022-12-08 20:57:11 +09:00
ausf [AUSF] Handle UEAuthentication DELETE 2022-11-29 23:10:49 +09:00
bsf Fixed crash after 48 hours of running (#1893) 2022-11-18 23:28:35 +09:00
hss remove warning in MacOSX (#1797) 2022-10-25 21:14:53 +09:00
mme Added more log in GTP Error (#1920) 2022-12-02 09:10:49 +09:00
nrf Follow-up on #1865 2022-11-12 09:37:43 +09:00
nssf Fixed crash after 48 hours of running (#1893) 2022-11-18 23:28:35 +09:00
pcf Follow-up on #1940 2022-12-06 22:59:06 +09:00
pcrf [ALL] Removing trailing whitespace and tab 2022-09-02 23:38:39 +09:00
scp Fixed crash after 48 hours of running (#1893) 2022-11-18 23:28:35 +09:00
sgwc Added more log in GTP Error (#1920) 2022-12-02 09:10:49 +09:00
sgwu Continue to fix alpine stack overflow (#1911) 2022-11-27 00:11:34 +09:00
smf [SMF] fix crash due free-ing invalid pointer 2022-12-07 21:21:01 +09:00
udm [SBI] Remove redundant code (#1923) 2022-11-30 17:01:30 +09:00
udr [UDM/UDR] Handle UEAuthentication authRemovalInd 2022-11-29 23:10:49 +09:00
upf Follow-up on #1940 - Fixed compile error 2022-12-07 20:41:18 +09:00
main.c [SBI] Remove one octet length in FQDN (#1333) 2022-01-23 13:49:03 +09:00
meson.build Prometheus metrics set to default 2022-11-21 22:06:29 +09:00