open5gs/src/amf
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-sm.c Fixed crash after 48 hours of running (#1893) 2022-11-18 23:28:35 +09:00
amf-sm.h Move src/../nf-sm.[ch] to lib/sbi/nf-sm.[ch] 2022-08-12 14:03:53 +09:00
app.c Change Number of UEs usage [#533] 2020-08-25 23:05:01 -04:00
context.c [AMF] Add RM metrics support 2022-12-08 20:57:11 +09:00
context.h [AMF] Add RM metrics support 2022-12-08 20:57:11 +09:00
event.c Move src/../nf-sm.[ch] to lib/sbi/nf-sm.[ch] 2022-08-12 14:03:53 +09:00
event.h SCP(Model D) is now the default setting. 2022-10-22 11:26:04 +09:00
gmm-build.c [AMF/MME] Added Timer Configuration (#1905) 2022-11-29 23:22:16 +09:00
gmm-build.h [AMF] Support REREGISTRATION_REQUIRED in dereg notify 2022-10-26 14:40:41 +09:00
gmm-handler.c amf: fix regression for smf selection 2022-12-04 15:12:15 +09:00
gmm-handler.h [AMF] Fixed 5GMM cause in Reject message (#1660) 2022-07-19 12:42:02 +09:00
gmm-sm.c [AMF] Add RM metrics support 2022-12-08 20:57:11 +09:00
init.c [metrics] Fix log output for metrics 2022-11-15 23:50:15 +09:00
meson.build [NRF] Fixed library load error 2022-08-26 10:57:11 +09:00
metrics.c [AMF] Add RM metrics support 2022-12-08 20:57:11 +09:00
metrics.h [AMF] Add RM metrics support 2022-12-08 20:57:11 +09:00
namf-handler.c [AMF] Wrongly sending PDU Session Release (#1925) 2022-12-04 14:32:19 +09:00
namf-handler.h [AMF,UDM] Add support to subscribe to SDM changes 2022-10-06 21:20:10 +09:00
nas-path.c [AMF] Add RM metrics support 2022-12-08 20:57:11 +09:00
nas-path.h [AMF] Wrongly sending PDU Session Release (#1925) 2022-12-04 14:32:19 +09:00
nas-security.c Shall cipher in the NAS message container IE 2022-01-05 22:39:06 +09:00
nas-security.h Add AUSF, UDM, and UDR 2020-06-04 14:12:05 -04:00
nausf-build.c [AMF] Add support for SDM subscription and authentication deletion 2022-11-29 23:10:49 +09:00
nausf-build.h [AMF] Add support for SDM subscription and authentication deletion 2022-11-29 23:10:49 +09:00
nausf-handler.c Add more memory log 2021-06-06 22:35:46 +09:00
nausf-handler.h Add AUSF, UDM, and UDR 2020-06-04 14:12:05 -04:00
ngap-build.c [AMF] Handle am-data/subscribedUeAmbr change notification 2022-11-29 23:10:49 +09:00
ngap-build.h [AMF] Handle am-data/subscribedUeAmbr change notification 2022-11-29 23:10:49 +09:00
ngap-handler.c [AMF] Fixed a crash while NGReset (#1928) 2022-12-04 15:01:43 +09:00
ngap-handler.h [AMF] Fix the bug NGResetAck (#1525) 2022-05-14 02:43:01 +09:00
ngap-path.c [AMF] Wrongly sending PDU Session Release (#1925) 2022-12-04 14:32:19 +09:00
ngap-path.h [AMF] Wrongly sending PDU Session Release (#1925) 2022-12-04 14:32:19 +09:00
ngap-sctp.c [ALL] Removing trailing whitespace and tab 2022-09-02 23:38:39 +09:00
ngap-sm.c [AMF] Handle am-data/subscribedUeAmbr change notification 2022-11-29 23:10:49 +09:00
nnrf-build.c SCP(Model D) is now the default setting. 2022-10-22 11:26:04 +09:00
nnrf-build.h [SBI] Support service-names in discovery option 2022-08-27 00:12:22 +09:00
nnrf-handler.c get amf_ue from sess 2022-11-26 18:27:50 +09:00
nnrf-handler.h Move src/../nf-sm.[ch] to lib/sbi/nf-sm.[ch] 2022-08-12 14:03:53 +09:00
nnssf-build.c SCP(Model D) is now the default setting. 2022-10-22 11:26:04 +09:00
nnssf-build.h arch: DB schema Changes (#796) 2021-03-08 21:25:09 +09:00
nnssf-handler.c Follow-up on #1865 2022-11-12 09:37:43 +09:00
nnssf-handler.h [ALL] Fix differences in function parameter names between definition and declaration 2022-07-01 21:38:47 +09:00
npcf-build.c SCP(Model D) is now the default setting. 2022-10-22 11:26:04 +09:00
npcf-build.h Added AMF-initiated AM Policy Termination 2021-12-04 19:31:36 +09:00
npcf-handler.c Added AMF-initiated AM Policy Termination 2021-12-04 19:31:36 +09:00
npcf-handler.h [ALL] Fix differences in function parameter names between definition and declaration 2022-07-01 21:38:47 +09:00
nsmf-build.c SCP(Model D) is now the default setting. 2022-10-22 11:26:04 +09:00
nsmf-build.h SCP(Model D) is now the default setting. 2022-10-22 11:26:04 +09:00
nsmf-handler.c Follow-up on #1729 2022-09-03 09:20:48 +09:00
nsmf-handler.h [ALL] Fix differences in function parameter names between definition and declaration 2022-07-01 21:38:47 +09:00
nudm-build.c [AMF] Add support for SDM subscription and authentication deletion 2022-11-29 23:10:49 +09:00
nudm-build.h [AMF] Add support for SDM subscription and authentication deletion 2022-11-29 23:10:49 +09:00
nudm-handler.c [AMF] Handle am-data/ratRestrictions change notification 2022-11-29 23:10:49 +09:00
nudm-handler.h [ALL] Fix differences in function parameter names between definition and declaration 2022-07-01 21:38:47 +09:00
sbi-path.c Fixed crash after 48 hours of running (#1893) 2022-11-18 23:28:35 +09:00
sbi-path.h SCP(Model D) is now the default setting. 2022-10-22 11:26:04 +09:00
timer.c Move src/../nf-sm.[ch] to lib/sbi/nf-sm.[ch] 2022-08-12 14:03:53 +09:00
timer.h Move src/../nf-sm.[ch] to lib/sbi/nf-sm.[ch] 2022-08-12 14:03:53 +09:00