5 KPIs
This section provides information about the KPIs for Oracle Communications Unified Data Repository (OCUDR).
Note:
A sample OCUDR dashboard is provided for Grafana. To achieve KPIs, OCUDR requires metrics and functions, which are available at Metrics. You can download and import the file to your repository. http://docs.oracle.com/en/industries/communications/cloud-native-core/release21.html5.1 Ingress Traffic KPIs
Following table provides the KPI details about the ocudr-ingress-gateway microservice of UDR.
Table 5-1 UDR Ingress Request Rate
Field | Details |
---|---|
Description | Number of requests per second. |
Expression | sum(irate(oc_ ingressgatew ay_http_requ ests_total[5m] )) |
Table 5-2 UDR Ingress Response Rate
Field | Details |
---|---|
Description | Number of response per second. |
Expression | sum(irate(oc_ ingressgatew ay_http_resp onses_total[5 m])) |
Table 5-3 Rate of Post Requests with Success Response
Field | Details |
---|---|
Description | Number of successful responses of each type or number of successful Responses per second. |
Expression | sum(irate(oc_ingressgateway_http_responses_total{Method="POST",Status=~"2.*"}[5m]))/sum(irate(oc_ingressgateway_http_responses_total[5m])) |
Table 5-4 Rate of Put Requests with Success Response
Field | Details |
---|---|
Description | Number of successful responses of each type or number of successful responses per second. |
Expression | sum(irate(oc_ingressgateway_http_responses_total{Method="PUT",Status=~"2.*"}[5m]))/sum(irate(oc_ingressgateway_http_responses_total[5m])) |
Table 5-5 Rate of Get Requests with Success Response
Field | Details |
---|---|
Description | Number of successful responses of each type or number of successful responses per second. |
Expression | sum(irate(oc_ingressgateway_http_responses_total{Method="GET",Status=~"2.*"}[5m]))/sum(irate(oc_ingressgateway_http_responses_total[5m])) |
Table 5-6 Rate of Delete Requests with Success Response
Field | Details |
---|---|
Description | Number of successful responses of each type or number of successful responses per second. |
Expression | sum(irate(oc_ingressgateway_http_responses_total{Method="DELETE",Status=~"2.*"}[5m]))/sum(irate(oc_ingressgateway_http_responses_total[5m])) |
Table 5-7 Rate of Patch Requests with Success Response
Field | Details |
---|---|
Description | Number of successful responses of each type or number of successful responses per second. |
Expression | sum(irate(oc_ingressgateway_http_responses_total{Method="PATCH",Status=~"2.*"}[5m]))/sum(irate(oc_ingressgateway_http_responses_total[5m])) |
Table 5-8 Rate of Post Requests Failed with 4xx
Field | Details |
---|---|
Description | Number of 4xx responses of each type or number of 4xx responses per second. |
Expression | sum(irate(oc_ingressgateway_http_responses_total{Method="POST",Status=~"4.*"}[5m]))/sum(irate(oc_ingressgateway_http_responses_total{Status=~"4.*"}[5m])) |
Table 5-9 Rate of Put Requests Failed with 4xx
Field | Details |
---|---|
Description | Number of 4xx responses of each type or number of 4xx responses per second. |
Expression | sum(irate(oc_ingressgateway_http_responses_total{Method="PUT",Status=~"4.*"}[5m]))/sum(irate(oc_ingressgateway_http_responses_total{Status=~"4.*"}[5m])) |
Table 5-10 Rate of Get Requests Failed with 4xx
Field | Details |
---|---|
Description | Number of 4xx responses of each type or number of 4xx responses per second. |
Expression | sum(irate(oc_ingressgateway_http_responses_total{Method="GET",Status=~"4.*"}[5m]))/sum(irate(oc_ingressgateway_http_responses_total{Status=~"4.*"}[5m])) |
Table 5-11 Rate of Delete Requests Failed with 4xx
Field | Details |
---|---|
Description | Number of 4xx responses of each type or number of 4xx responses per second. |
Expression | sum(irate(oc_ingressgateway_http_responses_total{Method="DELETE",Status=~"4.*"}[5m]))/sum(irate(oc_ingressgateway_http_responses_total{Status=~"4.*"}[5m])) |
Table 5-12 Rate of Patch Requests Failed with 4xx
Field | Details |
---|---|
Description | Number of 4xx responses of each type or number of 4xx responses per second. |
Expression | sum(irate(oc_ingressgateway_http_responses_total{Method="PATCH",Status=~"4.*"}[5m]))/sum(irate(oc_ingressgateway_http_responses_total{Status=~"4.*"}[5m])) |
Table 5-13 Rate of Post Requests Failed with 5xx
Field | Details |
---|---|
Description | Number of 5xx responses of each type or number of 5xx responses per second. |
Expression | (sum(irate(oc_ingressgateway_http_requests_total{Method="POST"}[5m]))-sum(irate(oc_ingressgateway_http_responses_total{Method="POST"}[5m])))/(sum(irate(oc_ingressgateway_http_requests_total[5m]))-sum(irate(oc_ingressgateway_http_responses_total[5m]))) |
Table 5-14 Rate of Put Requests Failed with 5xx
Field | Details |
---|---|
Description | Number of 5xx responses of each type or number of 5xx responses per second. |
Expression | (sum(irate(oc_ingressgateway_http_requests_total{Method="PUT"}[5m]))-sum(irate(oc_ingressgateway_http_responses_total{Method="PUT"}[5m])))/(sum(irate(oc_ingressgateway_http_requests_total[5m]))-sum(irate(oc_ingressgateway_http_responses_total[5m]))) |
Table 5-15 Rate of Get Requests Failed with 5xx
Field | Details |
---|---|
Description | Number of 5xx responses of each type or number of 5xx responses per second. |
Expression | (sum(irate(oc_ingressgateway_http_requests_total{Method="GET"}[5m]))-sum(irate(oc_ingressgateway_http_responses_total{Method="GET"}[5m])))/(sum(irate(oc_ingressgateway_http_requests_total[5m]))-sum(irate(oc_ingressgateway_http_responses_total[5m]))) |
Table 5-16 Rate of Delete Requests Failed with 5xx
Field | Details |
---|---|
Description | Number of 5xx responses of each type or number of 5xx responses per second. |
Expression | (sum(irate(oc_ingressgateway_http_requests_total{Method="DELETE"}[5m]))-sum(irate(oc_ingressgateway_http_responses_total{Method="DELETE"}[5m])))/(sum(irate(oc_ingressgateway_http_requests_total[5m]))-sum(irate(oc_ingressgateway_http_responses_total[5m]))) |
Table 5-17 Rate of Patch Requests Failed with 5xx
Field | Details |
---|---|
Description | Number of 5xx responses of each type or number of 5xx responses per second. |
Expression | (sum(irate(oc_ingressgateway_http_requests_total{Method="PATCH"}[5m]))-sum(irate(oc_ingressgateway_http_responses_total{Method="PATCH"}[5m])))/(sum(irate(oc_ingressgateway_http_requests_total[5m]))-sum(irate(oc_ingressgateway_http_responses_total[5m]))) |
Table 5-18 Percentage of Post Requests with Success Response
Field | Details |
---|---|
Description | Percentage of success requests of each type of operations. |
Expression | sum(oc_ingressgateway_http_responses_total{Method="POST",Status=~"2.*"})/sum(oc_ingressgateway_http_responses_total) |
Table 5-19 Percentage of Put Requests with Success Response
Field | Details |
---|---|
Description | Percentage of success requests of each type of operations. |
Expression | sum(oc_ingressgateway_http_responses_total{Method="PUT",Status=~"2.*"})/sum(oc_ingressgateway_http_responses_total) |
Table 5-20 Percentage of Get Requests with Success Response
Field | Details |
---|---|
Description | Percentage of success requests of each type of operations. |
Expression | sum(oc_ingressgateway_http_responses_total{Method="GET",Status=~"2.*"})/sum(oc_ingressgateway_http_responses_total) |
Table 5-21 Percentage of Delete Requests with Success Response
Field | Details |
---|---|
Description | Percentage of success requests of each type of operations. |
Expression | sum(oc_ingressgateway_http_responses_total{Method="DELETE",Status=~"2.*"})/sum(oc_ingressgateway_http_responses_total) |
Table 5-22 Percentage of Patch Requests with Success Response
Field | Details |
---|---|
Description | Percentage of success requests of each type of operations. |
Expression | sum(oc_ingressgateway_http_responses_total{Method="PATCH",Status=~"2.*"})/sum(oc_ingressgateway_http_responses_total) |
Table 5-23 Percentage of Post Requests Failed with 4xx
Field | Details |
---|---|
Description | Percentage of 4xx requests of each type of operations. |
Expression | sum(oc_ingressgateway_http_responses_total{Method="POST",Status=~"4.*"})/sum(oc_ingressgateway_http_responses_total{Status=~"4.*"}) |
Table 5-24 Percentage of Put Requests Failed with 4xx
Field | Details |
---|---|
Description | Percentage of 4xx requests of each type of operations. |
Expression | sum(oc_ingressgateway_http_responses_total{Method="PUT",Status=~"4.*"})/sum(oc_ingressgateway_http_responses_total{Status=~"4.*"}) |
Table 5-25 Percentage of Get Requests Failed with 4xx
Field | Details |
---|---|
Description | Percentage of 4xx requests of each type of operations. |
Expression | sum(oc_ingressgateway_http_responses_total{Method="GET",Status=~"4.*"})/sum(oc_ingressgateway_http_responses_total{Status=~"4.*"}) |
Table 5-26 Percentage of Delete Requests Failed with 4xx
Field | Details |
---|---|
Description | Percentage of 4xx requests of each type of operations. |
Expression | sum(oc_ingressgateway_http_responses_total{Method="DELETE",Status=~"4.*"})/sum(oc_ingressgateway_http_responses_total{Status=~"4.*"}) |
Table 5-27 Percentage of Delete Requests Failed with 4xx
Field | Details |
---|---|
Description | Percentage of 4xx requests of each type of operations. |
Expression | sum(oc_ingressgateway_http_responses_total{Method="PATCH",Status=~"4.*"})/sum(oc_ingressgateway_http_responses_total{Status=~"4.*"}) |
Table 5-28 Percentage of Post Requests Failed with 5xx
Field | Details |
---|---|
Description | Percentage of 5xx requests of each type of operations. |
Expression | (sum(oc_ingressgateway_http_requests_total{Method="POST"})-sum(oc_ingressgateway_http_responses_total{Method="POST"}))/(sum(oc_ingressgateway_http_requests_total)-sum(oc_ingressgateway_http_responses_total)) |
Table 5-29 Percentage of Put Requests Failed with 5xx
Field | Details |
---|---|
Description | Percentage of 5xx requests of each type of operations. |
Expression | (sum(oc_ingressgateway_http_requests_total{Method="PUT"})-sum(oc_ingressgateway_http_responses_total{Method="PUT"}))/(sum(oc_ingressgateway_http_requests_total)-sum(oc_ingressgateway_http_responses_total)) |
Table 5-30 Percentage of Get Requests Failed with 5xx
Field | Details |
---|---|
Description | Percentage of 5xx requests of each type of operations. |
Expression | (sum(oc_ingressgateway_http_requests_total{Method="GET"})-sum(oc_ingressgateway_http_responses_total{Method="GET"}))/(sum(oc_ingressgateway_http_requests_total)-sum(oc_ingressgateway_http_responses_total)) |
Table 5-31 Percentage of Delete Requests Failed with 5xx
Field | Details |
---|---|
Description | Percentage of 5xx requests of each type of operations. |
Expression | (sum(oc_ingressgateway_http_requests_total{Method="DELETE"})-sum(oc_ingressgateway_http_responses_total{Method="DELETE"}))/(sum(oc_ingressgateway_http_requests_total)-sum(oc_ingressgateway_http_responses_total)) |
Table 5-32 Percentage of Patch Requests Failed with 5xx
Field | Details |
---|---|
Description | Percentage of 5xx requests of each type of operations. |
Expression | (sum(oc_ingressgateway_http_requests_total{Method="PATCH"})-sum(oc_ingressgateway_http_responses_total{Method="PATCH"}))/(sum(oc_ingressgateway_http_requests_total)-sum(oc_ingressgateway_http_responses_total)) |
5.2 Egress Traffic KPIs
Following table provides the KPI details of the ocudr-egress-gateway microservice of UDR.
Table 5-33 UDR Egress Request Rate
Field | Details |
---|---|
Description | Number of requests per second. |
Expression | sum(irate(oc_egressgateway_http_requests_total[5m])) |
Table 5-34 UDR Egress Response Rate
Field | Details |
---|---|
Description | Number of responses per second. |
Expression | sum(irate(oc_egressgateway_http_requests_total[5m])) |
Table 5-35 Rate of Post, Get, Put, and Delete Requests with Success Response
Field | Details |
---|---|
Description | Number of successful responses of each type or number of successful responses per second. |
Expression |
sum(irate(oc_egressgateway_http_responses_total{Method="POST",Status=~"2.*"}[5m]))/sum(irate(oc_egressgateway_http_responses_total[5m])) In metric name, replace POST with any other method which you want to check (example: GET, PUT, and so on). |
Table 5-36 Rate of Post Requests Failed with 4xx
Field | Details |
---|---|
Description | Number of 4xx responses of each type or number of 4xx responses per second. |
Expression |
sum(irate(oc_egressgateway_http_responses_total{Method="POST",Status=~"4.*"}[5m]))/sum(irate(oc_egressgateway_http_responses_total{Status=~"4.*"}[5m])) In metric name, replace POST with any other method which you want to check (example: GET, PUT, and so on). |
Table 5-37 Rate of Post Requests Failed with 5xx
Field | Details |
---|---|
Description | Number of 5xx responses of each type or number of 5xx responses per second. |
Expression |
(sum(irate(oc_egressgateway_http_requests_total{Method="POST"}[5m]))-sum(irate(oc_egressgateway_http_responses_total{Method="POST"}[5m])))/(sum(irate(oc_egressgateway_http_requests_total[5m]))-sum(irate(oc_egressgateway_http_responses_total[5m]))) In metric name, replace POST with any other method which you want to check (example: GET, PUT, and so on). |
Table 5-38 Percentage of Post Requests with Success Response
Field | Details |
---|---|
Description | Percentage of success requests of each type of operations. |
Expression |
sum(oc_egressgateway_http_responses_total{Method="POST",Status=~"2.*"})/sum(oc_egressgateway_http_responses_total) In metric name, replace POST with any other method which you want to check (example: GET, PUT, and so on). |