6 OCCM Metrics
This chapter provides information about metrics for OCCM.
Dimension Description
Table 6-1 OCCM Dimension Description
Dimension | Description | Possible Values |
---|---|---|
method | Http method | GET, PUT, POST, DELETE |
httpVersion | Http protocol version | HTTP/1.1 |
scheme | Http protocol scheme | HTTP, UNKNOWN |
uri | URL of requested API | /occm-config/v1/certs |
nfType | API called by NF | eg: SCP, NRF, OCCM |
statusCode | Http status code | 200, 202 |
certUuid | Unique ID for the purpose of logging and tracking | eg: 7523a545-089b-49e9-a05c-ae5141db544b |
requestType | Type of request | IR, KUR |
certName | Name of the certificate | NRFTLS-1, SCPTLS-1 |
certPurpose | Purpose of the certificate creation | NRF SBI |
issuerName | Name of the Issuer | CA |
errorReason | Reason of the error | eg:ERR_K8S_SECRET_CREATION_ERROR |
operationType | Type of operation | CREATE, RENEW, DELETE |
host | Application hosted on cluster | eg: occm.occncc-thrust5-01.svc.thrust5 |
application | Name of the application | OCCM |
caServer | URL of the Certificate Authority (Issuer) | eg:http://ca1-openssl-mock.occncc-thrust5-01.svc.thrust5:8089 |
status | To know the status of openssl CMP cmd | SUCCESS, FAILED |
6.1 occm_config_http_requests_total
Table 6-2 occm_config_http_requests_total
Field | Details |
---|---|
Description | OCCM Configuration total HTTP request counter metric |
Type | Counter |
Dimensions |
|
Example | ccm_config_http_requests_total{app_kubernetes_io_application="occm", app_kubernetes_io_component="occm", app_kubernetes_io_engVersion="23.4.3", app_kubernetes_io_instance="occm", app_kubernetes_io_managed_by="Helm", app_kubernetes_io_microservice="occm", app_kubernetes_io_mktgVersion="23.4.3.0.0", app_kubernetes_io_name="occm", app_kubernetes_io_part_of="occm", app_kubernetes_io_vendor="Oracle", app_kubernetes_io_version="23.4.3.0.0", application="occm", container="occm", endpoint="cnc-metrics", helm_sh_chart="occm-23.4.3", host="occm.occncc-thrust5-01.svc.thrust5", httpVersion="HTTP/1.1", instance="10.233.121.228:9000", job="occne-infra/occne-nf-cnc-podmonitor", method="POST", namespace="occncc-thrust5-01", nfType="NRF", pod="occm-occm-67764765f8-7rpm8", pod_template_hash="67764765f8", scheme="http", uri="/occm-config/v1/certs"} |
6.2 occm_config_http_response_total
Table 6-3 occm_config_http_response_total
Field | Details |
---|---|
Description | OCCM Configuration total HTTP response counter metric |
Type | Counter |
Dimensions |
|
Example | occm_config_http_responses_total{app_kubernetes_io_application="occm", app_kubernetes_io_component="occm", app_kubernetes_io_engVersion="23.4.3", app_kubernetes_io_instance="occm", app_kubernetes_io_managed_by="Helm", app_kubernetes_io_microservice="occm", app_kubernetes_io_mktgVersion="23.4.3.0.0", app_kubernetes_io_name="occm", app_kubernetes_io_part_of="occm", app_kubernetes_io_vendor="Oracle", app_kubernetes_io_version="23.4.3.0.0", application="occm", container="occm", endpoint="cnc-metrics", helm_sh_chart="occm-23.4.3", host="occm.occncc-thrust5-01.svc.thrust5", httpVersion="HTTP/1.1", instance="10.233.121.228:9000", job="occne-infra/occne-nf-cnc-podmonitor", method="POST", namespace="occncc-thrust5-01", nfType="NRF", pod="occm-occm-67764765f8-7rpm8", pod_template_hash="67764765f8", scheme="http", statusCode="202", uri="/occm-config/v1/certs"} |
6.3 occm_cmp_requests_total
Table 6-4 occm_cmp_requests_total
Field | Details |
---|---|
Description | OCCM total CMP request counter metric |
Type | Counter |
Dimensions |
|
Example |
occm_cmp_requests_total{app_kubernetes_io_application="occm", app_kubernetes_io_component="occm", app_kubernetes_io_engVersion="23.4.3", app_kubernetes_io_instance="occm", app_kubernetes_io_managed_by="Helm", app_kubernetes_io_microservice="occm", app_kubernetes_io_mktgVersion="23.4.3.0.0", app_kubernetes_io_name="occm", app_kubernetes_io_part_of="occm", app_kubernetes_io_vendor="Oracle", app_kubernetes_io_version="23.4.3.0.0", application="occm", caServer="http://ca90-openssl-mock.occncc-thrust5-01.svc.thrust5:8083", certName="NRFTLS-47", certUuid="c0578b02-caab-454a-bd97-422b0e1c575b", container="occm", endpoint="cnc-metrics", helm_sh_chart="occm-23.4.3", instance="10.233.121.228:9000", issuerName="CA90", job="occne-infra/occne-nf-cnc-podmonitor", namespace="occncc-thrust5-01", nfType="NRF", pod="occm-occm-67764765f8-7rpm8", pod_template_hash="67764765f8", requestType="ir"} occm_cmp_requests_total{app_kubernetes_io_application="occm", app_kubernetes_io_component="occm", app_kubernetes_io_engVersion="23.4.3", app_kubernetes_io_instance="occm", app_kubernetes_io_managed_by="Helm", app_kubernetes_io_microservice="occm", app_kubernetes_io_mktgVersion="23.4.3.0.0", app_kubernetes_io_name="occm", app_kubernetes_io_part_of="occm", app_kubernetes_io_vendor="Oracle", app_kubernetes_io_version="23.4.3.0.0", application="occm", caServer="http://ca90-openssl-mock.occncc-thrust5-01.svc.thrust5:8083", certName="NRFTLS-47", certUuid="c0578b02-caab-454a-bd97-422b0e1c575b", container="occm", endpoint="cnc-metrics", helm_sh_chart="occm-23.4.3", instance="10.233.121.228:9000", issuerName="CA90", job="occne-infra/occne-nf-cnc-podmonitor", namespace="occncc-thrust5-01", nfType="NRF", pod="occm-occm-67764765f8-7rpm8", pod_template_hash="67764765f8", requestType="kur"} |
6.4 occm_cmp_responses_total
Table 6-5 occm_cmp_responses_total
Field | Details |
---|---|
Description | OCCM total CMP response counter metric |
Type | Counter |
Service Operation | |
Dimensions |
|
Example | occm_config_http_responses_total{app_kubernetes_io_application="occm", app_kubernetes_io_component="occm", app_kubernetes_io_engVersion="23.4.3", app_kubernetes_io_instance="occm", app_kubernetes_io_managed_by="Helm", app_kubernetes_io_microservice="occm", app_kubernetes_io_mktgVersion="23.4.3.0.0", app_kubernetes_io_name="occm", app_kubernetes_io_part_of="occm", app_kubernetes_io_vendor="Oracle", app_kubernetes_io_version="23.4.3.0.0", application="occm", container="occm", endpoint="cnc-metrics", helm_sh_chart="occm-23.4.3", host="occm.occncc-thrust5-01.svc.thrust5", httpVersion="HTTP/1.1", instance="10.233.121.228:9000", job="occne-infra/occne-nf-cnc-podmonitor", method="POST", namespace="occncc-thrust5-01", nfType="NRF", pod="occm-occm-67764765f8-7rpm8", pod_template_hash="67764765f8", scheme="http", statusCode="202", uri="/occm-config/v1/certs"} |
6.5 occm_cert_expiry
Table 6-6 occm_cert_expiry
Field | Details |
---|---|
Description | OCCM Cert expiry gauge metrics. It will indicate Certificate expiry timestamp. |
Type | Gauge |
Dimensions |
|
Example | occm_cert_expiry{app_kubernetes_io_application="occm", app_kubernetes_io_component="occm", app_kubernetes_io_engVersion="23.4.3", app_kubernetes_io_instance="occm", app_kubernetes_io_managed_by="Helm", app_kubernetes_io_microservice="occm", app_kubernetes_io_mktgVersion="23.4.3.0.0", app_kubernetes_io_name="occm", app_kubernetes_io_part_of="occm", app_kubernetes_io_vendor="Oracle", app_kubernetes_io_version="23.4.3.0.0", application="occm", certName="NRFTLS-47", certPurpose="NRF SBI", certUuid="c0578b02-caab-454a-bd97-422b0e1c575b", container="occm", endpoint="cnc-metrics", helm_sh_chart="occm-23.4.3", instance="10.233.121.228:9000", issuerName="CA90", job="occne-infra/occne-nf-cnc-podmonitor", namespace="occncc-thrust5-01", nfType="NRF", pod="occm-occm-67764765f8-7rpm8", pod_template_hash="67764765f8"} |
6.6 occm_cert_status
Table 6-7 occm_cert_status
Field | Details |
---|---|
Description | OCCM Cert status gauge metric. It will indicate Certificate status CREATING(1), READY(2), FAILED(3), DELETED(6), EXPIRED(7), WAITING(8) |
Type | Gauge |
Dimensions |
|
Example | occm_cert_status{app_kubernetes_io_application="occm", app_kubernetes_io_component="occm", app_kubernetes_io_engVersion="23.4.3", app_kubernetes_io_instance="occm", app_kubernetes_io_managed_by="Helm", app_kubernetes_io_microservice="occm", app_kubernetes_io_mktgVersion="23.4.3.0.0", app_kubernetes_io_name="occm", app_kubernetes_io_part_of="occm", app_kubernetes_io_vendor="Oracle", app_kubernetes_io_version="23.4.3.0.0", application="occm", certName="NRFTLS-47", certPurpose="NRF SBI", certUuid="c0578b02-caab-454a-bd97-422b0e1c575b", container="occm", endpoint="cnc-metrics", helm_sh_chart="occm-23.4.3", instance="10.233.121.228:9000", issuerName="CA90", job="occne-infra/occne-nf-cnc-podmonitor", namespace="occncc-thrust5-01", nfType="NRF", pod="occm-occm-67764765f8-7rpm8", pod_template_hash="67764765f8"} |
6.7 occm_cmp_cli_durations
Table 6-8 occm_cmp_cli_durations
Field | Details |
---|---|
Description | OCCM cmp cli duration histogram metrics . CMP cli time taken in between request and response from CA |
Type | Histogram |
Dimensions |
|
Example | occm_cmp_cli_durations_bucket{app_kubernetes_io_application="occm", app_kubernetes_io_component="occm", app_kubernetes_io_engVersion="23.4.3", app_kubernetes_io_instance="occm", app_kubernetes_io_managed_by="Helm", app_kubernetes_io_microservice="occm", app_kubernetes_io_mktgVersion="23.4.3.0.0", app_kubernetes_io_name="occm", app_kubernetes_io_part_of="occm", app_kubernetes_io_vendor="Oracle", app_kubernetes_io_version="23.4.3.0.0", application="occm", caServer="http://ca90-openssl-mock.occncc-thrust5-01.svc.thrust5:8083", certName="NRFTLS-47", certUuid="c0578b02-caab-454a-bd97-422b0e1c575b", container="occm", endpoint="cnc-metrics", helm_sh_chart="occm-23.4.3", instance="10.233.121.228:9000", job="occne-infra/occne-nf-cnc-podmonitor", le="5.0", namespace="occncc-thrust5-01", nfType="NRF", pod="occm-occm-67764765f8-7rpm8", pod_template_hash="67764765f8", requestType="kur"} |
6.8 occm_cert_request_status_total
Table 6-9 occm_cert_request_status
Field | Details |
---|---|
Description |
OCCM Certificate request status counter metric. It will indicate certificate status, error reason, operation type whether CREATE or Renew etc. |
Type | Counter |
Dimensions |
|
Example | occm_cert_request_status_total{app_kubernetes_io_application="occm", app_kubernetes_io_component="occm", app_kubernetes_io_engVersion="23.4.3", app_kubernetes_io_instance="occm", app_kubernetes_io_managed_by="Helm", app_kubernetes_io_microservice="occm", app_kubernetes_io_mktgVersion="23.4.3.0.0", app_kubernetes_io_name="occm", app_kubernetes_io_part_of="occm", app_kubernetes_io_vendor="Oracle", app_kubernetes_io_version="23.4.3.0.0", application="occm", certName="NRFTLS-47", certUuid="c0578b02-caab-454a-bd97-422b0e1c575b", container="occm", endpoint="cnc-metrics", errorReason="OK", helm_sh_chart="occm-23.4.3", instance="10.233.121.228:9000", issuerName="CA90", job="occne-infra/occne-nf-cnc-podmonitor", namespace="occncc-thrust5-01", nfType="NRF", operationType="RENEW", pod="occm-occm-67764765f8-7rpm8", pod_template_hash="67764765f8"} |