open5gs/src
Gaber Stare 6856dfd6b7 [SMF] Expose metrics for nr. of PDU session creations
[ETSI TS 128 552 V16.9.0](https://www.etsi.org/deliver/etsi_ts/128500_128599/128552/16.09.00_60/ts_128552v160900p.pdf):

Registration type label is not provided.
A nonstandard PLMNID label is added to achieve uniqueness.

- 5.3.1.3 Number of PDU sessions requested to be created by the SMF

PLMNID and SNSSAI are defined during PDU session creation processing.
Some requests can be rejected during processing before label values are known.
Those requests are not counted under particular labels.
To count also such requests, the basic metric with empty labels is exposed too.

```
fivegs_smffunction_sm_pdusessioncreationreq{plmnid="",snssai=""} 1
fivegs_smffunction_sm_pdusessioncreationreq{plmnid="00101",snssai="1000009"} 1
```

- 5.3.1.4 Number of PDU sessions successfully created by the SMF
```
fivegs_smffunction_sm_pdusessioncreationsucc{plmnid="00101",snssai="1000009"} 1
```

- 5.3.1.5 Number of PDU sessions failed to be created by the SMF
```
fivegs_smffunction_sm_pdusessioncreationfail{cause="400"} 1
```

Example for one successful and one failed (during creation processing) PDU session creation:

```
fivegs_smffunction_sm_pdusessioncreationreq{plmnid="",snssai=""} 2
fivegs_smffunction_sm_pdusessioncreationreq{plmnid="00101",snssai="1000009"} 1

fivegs_smffunction_sm_pdusessioncreationsucc{plmnid="00101",snssai="1000009"} 1

fivegs_smffunction_sm_pdusessioncreationfail{cause="400"} 1
```
2023-05-25 21:38:15 +09:00
..
amf [AMF] Fixed crashes with assertion (#2312) 2023-05-21 07:51:43 +09:00
ausf Fixed MacOSX compile error 2023-04-04 21:53:39 +09:00
bsf [SBI] Fixed an issue with FQDN/TLS (#2252) 2023-04-21 22:37:07 +09:00
hss [LOG] remove ogs_expect_or_return()/return_val() 2023-01-24 00:01:36 +09:00
mme [AMF/MME] Fixed crashes by M-TMSI (#2307) 2023-05-14 10:37:29 +09:00
nrf Fixed MacOSX compile error 2023-04-04 21:53:39 +09:00
nssf [SBI] Fixed an issue with FQDN/TLS (#2252) 2023-04-21 22:37:07 +09:00
pcf [PCF] Always expose SNSSAI label (#2320) 2023-05-25 21:15:01 +09:00
pcrf [LOG] remove ogs_expect_or_return()/return_val() 2023-01-24 00:01:36 +09:00
scp [SBI] Fixed a bug with encoder/decoder of scpPorts 2023-05-14 07:05:23 +09:00
sgwc [GTP-U] Send Error Indication for unknown PDR 2023-04-16 12:30:36 +09:00
sgwu [SGWU/UPF] Fixed crashed by gTPTunnel (#2313) 2023-05-14 10:19:37 +09:00
smf [SMF] Expose metrics for nr. of PDU session creations 2023-05-25 21:38:15 +09:00
udm Fixed MacOSX compile error 2023-04-04 21:53:39 +09:00
udr Fixed MacOSX compile error 2023-04-04 21:53:39 +09:00
upf [SGWU/UPF] Fixed crashed by gTPTunnel (#2313) 2023-05-14 10:19:37 +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