Using Metrics (4.1)

Usage Engine can be set up to use metrics, as a way to track the performance of your deployment. Usage Engine can be integrated with Prometheus, a tool used to monitor and collect metrics from pods and containers located in your deployment. After extracting these metrics, you can use them for:

  • Autoscaling your EC Deployment

  • Visualization as graphs using Grafana

As an alternative to the Prometheus agent you can also publish your own metrics, in the same way you publish your own Information Model (MIM) in workflows.

Prerequisites

Before getting to know how to use Prometheus with Usage Engine, it is recommended that you be familiar with how Prometheus works. You can read up on Prometheus from this link: https://prometheus.io/docs/introduction/overview/

It is recommended that you be familiar with the basics of Prometheus before you begin setting this up and using it.



The following topics relate to our integration with Prometheus, you can refer to them for more information. These topics cover a range across our three user types, an Administration user is required to set up Prometheus and Grafana. A Designer user is involved with setting up the EC Deployment autoscaling or using the Prometheus Agent to publish more metrics. An Operator or even a Designer user will use Grafana as a tool to visualize the metrics that are useful for them.

Setting up Prometheus(3.0)

Setting up Grafana(3.0)

Autoscaling ECD with Metrics(3.0)

Prometheus(3.0)

Metrics(3.0)

Reading JMX Metrics, MIMs and Prometheus Agent Metrics from Execution Context Endpoint(3.0)