open5gs/src/smf
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
..
app.c Initial proposal CUPS using PFCP 2020-04-26 15:36:05 -04:00
binding.c [PFCP/GTP] SEID/TEID Randomness (#1303) 2023-04-16 12:30:36 +09:00
binding.h X2 handover with SGW change (#1367, #1459) 2022-05-12 22:52:36 +09:00
context.c [MME/SMF] Added Extended-PCO in 4G/LTE (#2261) 2023-04-22 00:06:50 +09:00
context.h [SMF] Disable Network Service request while ACTIVATING 2023-05-08 22:33:50 +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
fd-path.c [PFCP/GTP] SEID/TEID Randomness (#1303) 2023-04-16 12:30:36 +09:00
fd-path.h [SMF] Improve 3GPP-User-Location-Info in Gn,Gx,Gy (#1539) 2022-05-17 10:29:11 +09:00
gn-build.c [LOG] remove ogs_expect_or_return()/return_val() 2023-01-24 00:01:36 +09:00
gn-build.h Introduce Gn interface (GTPv1C) Support to PGW (#1351) 2022-02-18 22:23:45 +09:00
gn-handler.c [ALL] Removing trailing whitespace and tab 2022-09-02 23:38:39 +09:00
gn-handler.h [SMF] Integrate session tear down cycle into sess->sm (#1500) 2022-04-20 21:42:18 +09:00
gsm-build.c [MME/SMF] Added Extended-PCO in 4G/LTE (#2261) 2023-04-22 00:06:50 +09:00
gsm-build.h [SMF] Fixed PTI when PDU Session Reject 2022-11-07 16:51:51 +09:00
gsm-handler.c [MME/SMF] Added Extended-PCO in 4G/LTE (#2261) 2023-04-22 00:06:50 +09:00
gsm-handler.h VoNR added but not tested! 2021-11-14 21:07:56 +09:00
gsm-sm.c [GTP-U] Send Error Indication for unknown PDR 2023-04-16 12:30:36 +09:00
gtp-path.c [LOG] remove ogs_expect_or_return()/return_val() 2023-01-24 00:01:36 +09:00
gtp-path.h Reorder smf_gtp_node objects free (#1593) 2022-06-10 21:08:15 +09:00
gx-handler.c [PFCP/GTP] SEID/TEID Randomness (#1303) 2023-04-16 12:30:36 +09:00
gx-handler.h [SMF] Integrate session tear down cycle into sess->sm (#1500) 2022-04-20 21:42:18 +09:00
gx-path.c [Gx/Gy] MAX_CC_REQUESTER_NUMBER(32->64) (#2038) 2023-02-04 20:53:44 +09:00
gy-handler.c [PGW] Gy+PFCP improvements (#1555) 2022-05-24 22:54:30 +09:00
gy-handler.h [ALL] Fix differences in function parameter names between definition and declaration 2022-07-01 21:38:47 +09:00
gy-path.c [SMF] Fixed Gy Service-Context-Id 2023-04-04 21:33:55 +09:00
init.c Fixed MacOSX compile error 2023-04-04 21:53:39 +09:00
meson.build [NRF] Fixed library load error 2022-08-26 10:57:11 +09:00
metrics.c [SMF] Expose metrics for nr. of PDU session creations 2023-05-25 21:38:15 +09:00
metrics.h [SMF] Expose metrics for nr. of PDU session creations 2023-05-25 21:38:15 +09:00
n4-build.c [PFCP] Implement the Restoration Indication 2023-04-16 12:30:36 +09:00
n4-build.h [PFCP] Implement the Restoration Indication 2023-04-16 12:30:36 +09:00
n4-handler.c [SMF] Disable Network Service request while ACTIVATING 2023-05-08 22:33:50 +09:00
n4-handler.h [ALL] Fix differences in function parameter names between definition and declaration 2022-07-01 21:38:47 +09:00
namf-build.c SCP(Model D) is now the default setting. 2022-10-22 11:26:04 +09:00
namf-build.h VoNR added but not tested! 2021-11-14 21:07:56 +09:00
namf-handler.c VoNR added but not tested! 2021-11-14 21:07:56 +09:00
namf-handler.h VoNR added but not tested! 2021-11-14 21:07:56 +09:00
nas-path.c Move src/../nf-sm.[ch] to lib/sbi/nf-sm.[ch] 2022-08-12 14:03:53 +09:00
nas-path.h Use HTTP/2 instead of HTTP/1.1 in 5G Core SBI 2020-11-26 21:44:37 -05:00
ngap-build.c [Release-17] Upgrade S1AP/NGAP to v17.3.9 2023-02-21 21:48:06 +09:00
ngap-build.h [SMF] Optimiza Session Modification Message 2022-05-15 23:35:41 +09:00
ngap-handler.c Follow-up on #1729 2022-09-03 09:20:48 +09:00
ngap-handler.h [5GC] Service Request Race Condition(#1226) 2021-11-28 20:54:51 +09:00
ngap-path.c Move src/../nf-sm.[ch] to lib/sbi/nf-sm.[ch] 2022-08-12 14:03:53 +09:00
ngap-path.h Use HTTP/2 instead of HTTP/1.1 in 5G Core SBI 2020-11-26 21:44:37 -05:00
nnrf-handler.c SCP(Model D) is now the default setting. 2022-10-22 11:26:04 +09:00
nnrf-handler.h Move src/../nf-sm.[ch] to lib/sbi/nf-sm.[ch] 2022-08-12 14:03:53 +09:00
npcf-build.c ogs_session_s.framed_routes type change to (char **) 2023-01-26 22:37:58 +09:00
npcf-build.h [5GC] Added BSF(Binding Support Function) 2021-05-29 15:56:12 +09:00
npcf-handler.c [PFCP] Implement the Restoration Indication 2023-04-16 12:30:36 +09:00
npcf-handler.h [SMF] Apply 5G Core into GSM (#1498) 2022-05-15 06:27:54 +09:00
nsmf-handler.c [SMF] Expose metrics for nr. of PDU session creations 2023-05-25 21:38:15 +09:00
nsmf-handler.h Use HTTP/2 instead of HTTP/1.1 in 5G Core SBI 2020-11-26 21:44:37 -05:00
nudm-build.c SCP(Model D) is now the default setting. 2022-10-22 11:26:04 +09:00
nudm-build.h Add only one 5GC scenario (call-flow) 2020-06-17 01:22:28 -04:00
nudm-handler.c [SMF] Expose metrics for nr. of PDU session creations 2023-05-25 21:38:15 +09:00
nudm-handler.h Use HTTP/2 instead of HTTP/1.1 in 5G Core SBI 2020-11-26 21:44:37 -05:00
pfcp-path.c [PFCP] Implement the Restoration Indication 2023-04-16 12:30:36 +09:00
pfcp-path.h [PFCP] Implement the Restoration Indication 2023-04-16 12:30:36 +09:00
pfcp-sm.c [PFCP] Implement the Restoration Indication 2023-04-16 12:30:36 +09:00
s5c-build.c [MME/SMF] Added Extended-PCO in 4G/LTE (#2261) 2023-04-22 00:06:50 +09:00
s5c-build.h X2 handover with SGW change (#1367, #1459) 2022-05-12 22:52:36 +09:00
s5c-handler.c [MME/SMF] Added Extended-PCO in 4G/LTE (#2261) 2023-04-22 00:06:50 +09:00
s5c-handler.h [ALL] Fix differences in function parameter names between definition and declaration 2022-07-01 21:38:47 +09:00
s6b-path.c [LOG] remove ogs_expect_or_return()/return_val() 2023-01-24 00:01:36 +09:00
sbi-path.c [SMF] Expose metrics for nr. of PDU session creations 2023-05-25 21:38:15 +09:00
sbi-path.h [SBI,NF] Don't treat SBI connection errors as asserts 2023-02-07 22:49:11 +09:00
smf-sm.c [SMF] Expose metrics for nr. of PDU session creations 2023-05-25 21:38:15 +09:00
smf-sm.h Move src/../nf-sm.[ch] to lib/sbi/nf-sm.[ch] 2022-08-12 14:03:53 +09:00
timer.c [SBI] Added Handler for Subscription PATCH (#2152) 2023-03-12 22:06:19 +09:00
timer.h Move src/../nf-sm.[ch] to lib/sbi/nf-sm.[ch] 2022-08-12 14:03:53 +09:00