Metering

Describes how to identify and debug issues for metering.

Resource Usage or Billing Metrics

Sometimes the UI does not display or update resource usage or billing metrics. The monitoring and prometheus namespaces are used for observability in HPE Ezmeral Unified Analytics Software. Verify that the pods in these namespaces are running.

To get the list of pods in the monitoring namespace, run:
kubectl get pods -n monitoring


Verify that the ua-application-metrics-generate-cronjob-28079520-6ts28 pod and ua-monitor-deployment-c797c5f44 pod are running.

If AGE of ua-application-metrics-generate-cronjob-28079520-6ts28 is less than 60 minutes, the cron job is up to date.

To see logs for cron jobs and to view all the aggregated values and output of values, run:
kubectl  logs ua-application-metrics-generate-cronjob-28079520-6ts28 -n monitoring


The Uploaded records successfully at: <time> message suggests that the billing data was uploaded successfully.

If the HOURLY USAGE or HOURLY COST values are in zeroes, verify that Prometheus is working as expected without any errors or failures. All Prometheus pods are located in the prometheus namespace.

To get the list of pods in the prometheus namespace, run:
kubectl get pods -n prometheus