Metric Used for KPI |
For CNE 1.8.x or previous versions:
- all:
sum(increase(oc_ingressgateway_http_responses_total{InstanceIdentifier=~".*core_ingressgateway",Status=~"4.*|5.*",Route_path=~".*",kubernetes_namespace="$namespace"}[5m]))/sum(increase(oc_ingressgateway_http_responses_total{InstanceIdentifier=~".*core_ingressgateway",Route_path=~".*",kubernetes_namespace="$namespace"}[5m]))*100
- scp:
sum(increase(oc_ingressgateway_http_responses_total{InstanceIdentifier=~".*core_ingressgateway",Status=~"4.*|5.*",Route_path=~".*/ocscp/.*",kubernetes_namespace="$namespace"}[5m]))/sum(increase(oc_ingressgateway_http_responses_total{InstanceIdentifier=~".*core_ingressgateway",Route_path=~".*/ocscp/.*",kubernetes_namespace="$namespace"}[5m]))*100
- nrf:
sum(increase(oc_ingressgateway_http_responses_total{InstanceIdentifier=~".*core_ingressgateway",Status=~"4.*|5.*",Route_path=~".*/nrf-configuration/v1/.*|.*/nrf-state-data/.*|/ocnrf-swagger/.*|/nrf-status-data/.*|.*/nrf/nf-common-component/.*",kubernetes_namespace="$namespace"}[5m]))/sum(increase(oc_ingressgateway_http_responses_total{InstanceIdentifier=~".*core_ingressgateway",Route_path=~".*/nrf-configuration/v1/.*|.*/nrf-state-data/.*|.*/ocnrf-swagger/.*|.*/nrf-status-data/.*|.*/nrf/nf-common-component/.*"kubernetes_namespace="$namespace"}[5m]))*100
- udr:
sum(increase(oc_ingressgateway_http_responses_total{InstanceIdentifier=~".*core_ingressgateway",Status=~"4.*|5.*",Route_path=~".*/nudr-dr-prov/.*|.*/nudr-dr-mgm/.*|.*/nudr-group-id-map-prov/.*|.*/slf-group-prov/.*|.*/nudr-config/.*|.*/udr/nf-common-component/.*|.*/n5g-eir-prov/.*",kubernetes_namespace="$namespace"}[5m]))/sum(increase(oc_ingressgateway_http_responses_total{InstanceIdentifier=~".*core_ingressgateway",Route_path=~".*/nudr-dr-prov/.*|.*/nudr-dr-mgm/.*|.*/nudr-group-id-map-prov/.*|.*/slf-group-prov/.*|.*/nudr-config/.*|.*/udr/nf-common-component/.*|.*/n5g-eir-prov/.*",kubernetes_namespace="$namespace"}[5m]))*100
- policy:
sum(increase(oc_ingressgateway_http_responses_total{InstanceIdentifier=~".*core_ingressgateway",Status=~"4.*|5.*",Route_path=~".*/policyapi/.*|.*/oc-cnpolicy-configuration/.*|.*/pcf/.*",kubernetes_namespace="$namespace"}[5m]))/sum(increase(oc_ingressgateway_http_responses_total{InstanceIdentifier=~".*core_ingressgateway",InstanceIdentifier=~".*core_ingressgateway",Route_path=~".*/policyapi/.*|.*/oc-cnpolicy-configuration/.*|.*/pcf/.*",kubernetes_namespace="$namespace"}[5m]))*100
- bsf:
sum(increase(oc_ingressgateway_http_responses_total{InstanceIdentifier=~".*core_ingressgateway",Status=~"4.*|5.*",Route_path=~".*/bsfapi/.*|.*/oc-bsf-configuration/.*|.*/bsf/.*",kubernetes_namespace="$namespace"}[5m]))/sum(increase(oc_ingressgateway_http_responses_total{InstanceIdentifier=~".*core_ingressgateway",InstanceIdentifier=~".*core_ingressgateway",Route_path=~".*/bsfapi.*|.*/oc-bsf-configuration/.*|.*/bsf/.*",kubernetes_namespace="$namespace"}[5m]))*100
- sepp:
sum(increase(oc_ingressgateway_http_responses_total{InstanceIdentifier=~".*core_ingressgateway",Status=~"4.*|5.*",Route_path=~".*/sepp-configuration/.*|.*/sepp/.*",kubernetes_namespace="$namespace"}[5m]))/sum(increase(oc_ingressgateway_http_responses_total{InstanceIdentifier=~".*core_ingressgateway",InstanceIdentifier=~".*core_ingressgateway",Route_path=~".*/sepp-configuration/.*|.*/sepp/.*",kubernetes_namespace="$namespace"}[5m]))*100
- nssf:
sum(increase(oc_ingressgateway_http_responses_total{InstanceIdentifier=~".*core_ingressgateway",Status=~"4.*|5.*",Route_path=~".*/nnssf-configuration/.*",kubernetes_namespace="$namespace"}[5m]))/sum(increase(oc_ingressgateway_http_responses_total{InstanceIdentifier=~".*core_ingressgateway",InstanceIdentifier=~".*core_ingressgateway",Route_path=~".*/nnssf-configuration/.*|.*/nssf/.*",kubernetes_namespace="$namespace"}[5m]))*100
- dd:
sum(increase(oc_ingressgateway_http_responses_total{InstanceIdentifier=~".*core_ingressgateway",Status=~"4.*|5.*",Route_path=~".*/ocnadd/.*|.*/ocnaddapi/.*",kubernetes_namespace="$namespace"}[5m]))/sum(increase(oc_ingressgateway_http_responses_total{InstanceIdentifier=~".*core_ingressgateway",InstanceIdentifier=~".*core_ingressgateway",Route_path=~".*/ocnadd/.*|.*/ocnaddapi/.*",kubernetes_namespace="$namespace"}[5m]))*100
For CNE 1.9.0 or later versions:
- all:
sum(increase(oc_ingressgateway_http_responses_total{InstanceIdentifier=~".*core_ingressgateway",Status=~"4.*|5.*",Route_path=~".*",namespace="$namespace"}[5m]))/sum(increase(oc_ingressgateway_http_responses_total{InstanceIdentifier=~".*core_ingressgateway",Route_path=~".*",namespace="$namespace"}[5m]))*100
- scp:
sum(increase(oc_ingressgateway_http_responses_total{InstanceIdentifier=~".*core_ingressgateway",Status=~"4.*|5.*",Route_path=~".*/soothsayer/v1/.*.*/ocscp/.*",namespace="$namespace"}[5m]))/sum(increase(oc_ingressgateway_http_responses_total{InstanceIdentifier=~".*core_ingressgateway",Route_path=~".*/ocscp/.*",namespace="$namespace"}[5m]))*100
- nrf:
sum(increase(oc_ingressgateway_http_responses_total{InstanceIdentifier=~".*core_ingressgateway",Status=~"4.*|5.*",Route_path=~".*/nrf-configuration/v1/.*|.*/nrf-state-data/.*|/ocnrf-swagger/.*|/nrf-status-data/.*|.*/nrf/nf-common-component/.*",namespace="$namespace"}[5m]))/sum(increase(oc_ingressgateway_http_responses_total{InstanceIdentifier=~".*core_ingressgateway",Route_path=~".*/nrf-configuration/v1/.*|.*/nrf-state-data/.*|.*/ocnrf-swagger/.*|.*/nrf-status-data/.*|.*/nrf/nf-common-component/.*"namespace="$namespace"}[5m]))*100
- udr:
sum(increase(oc_ingressgateway_http_responses_total{InstanceIdentifier=~".*core_ingressgateway",Status=~"4.*|5.*",Route_path=~".*/nudr-dr-prov/.*|.*/nudr-dr-mgm/.*|.*/nudr-group-id-map-prov/.*|.*/slf-group-prov/.*|.*/nudr-config/.*|.*/udr/nf-common-component/.*|.*/n5g-eir-prov/.*",namespace="$namespace"}[5m]))/sum(increase(oc_ingressgateway_http_responses_total{InstanceIdentifier=~".*core_ingressgateway",Route_path=~".*/nudr-dr-prov/.*|.*/nudr-dr-mgm/.*|.*/nudr-group-id-map-prov/.*|.*/slf-group-prov/.*|.*/nudr-config/.*|.*/udr/nf-common-component/.*|.*/n5g-eir-prov/.*",namespace="$namespace"}[5m]))*100
- policy:
sum(increase(oc_ingressgateway_http_responses_total{InstanceIdentifier=~".*core_ingressgateway",Status=~"4.*|5.*",Route_path=~".*/policyapi/.*|.*/oc-cnpolicy-configuration/.*|.*/pcf/.*",namespace="$namespace"}[5m]))/sum(increase(oc_ingressgateway_http_responses_total{InstanceIdentifier=~".*core_ingressgateway",InstanceIdentifier=~".*core_ingressgateway",Route_path=~".*/policyapi/.*|.*/oc-cnpolicy-configuration/.*|.*/pcf/.*",namespace="$namespace"}[5m]))*100
- bsf:
sum(increase(oc_ingressgateway_http_responses_total{InstanceIdentifier=~".*core_ingressgateway",Status=~"4.*|5.*",Route_path=~".*/bsfapi/.*|.*/oc-bsf-configuration/.*|.*/bsf/.*",namespace="$namespace"}[5m]))/sum(increase(oc_ingressgateway_http_responses_total{InstanceIdentifier=~".*core_ingressgateway",InstanceIdentifier=~".*core_ingressgateway",Route_path=~".*/bsfapi.*|.*/oc-bsf-configuration/.*|.*/bsf/.*",namespace="$namespace"}[5m]))*100
- sepp:
sum(increase(oc_ingressgateway_http_responses_total{InstanceIdentifier=~".*core_ingressgateway",Status=~"4.*|5.*",Route_path=~".*/sepp-configuration/.*|.*/sepp/.*",namespace="$namespace"}[5m]))/sum(increase(oc_ingressgateway_http_responses_total{InstanceIdentifier=~".*core_ingressgateway",InstanceIdentifier=~".*core_ingressgateway",Route_path=~".*/sepp-configuration/.*|.*/sepp/.*",namespace="$namespace"}[5m]))*100
- nssf:
sum(increase(oc_ingressgateway_http_responses_total{InstanceIdentifier=~".*core_ingressgateway",Status=~"4.*|5.*",Route_path=~".*/nnssf-configuration/.*|.*/nssf/.*",namespace="$namespace"}[5m]))/sum(increase(oc_ingressgateway_http_responses_total{InstanceIdentifier=~".*core_ingressgateway",InstanceIdentifier=~".*core_ingressgateway",Route_path=~".*/nnssf-configuration/.*|.*/nssf/.*",namespace="$namespace"}[5m]))*100
- dd:
sum(increase(oc_ingressgateway_http_responses_total{InstanceIdentifier=~".*core_ingressgateway",Status=~"4.*|5.*",Route_path=~".*/ocnadd/.*|.*/ocnaddapi/.*",namespace="$namespace"}[5m]))/sum(increase(oc_ingressgateway_http_responses_total{InstanceIdentifier=~".*core_ingressgateway",InstanceIdentifier=~".*core_ingressgateway",Route_path=~".*/ocnadd/.*|.*/ocnaddapi/.*"",namespace="$namespace"}[5m]))*100
|