Using Prometheus to Analyze Flogo App Metrics

To enable Prometheus monitoring of Flogo apps, run the following:

FLOGO_HTTP_SERVICE_PORT=7779 FLOGO_APP_METRICS_PROMETHEUS=true ./<app-binary>

Setting FLOGO_APP_METRICS_PROMETHEUS variable to true enables Prometheus monitoring of Flogo apps. The variable, FLOGO_HTTP_SERVICE_PORT is used to set the port number on which the Prometheus endpoint is available.

Use the following endpoint URL in Prometheus server configuration:

http://<APP_HOST_IP>:<FLOGO_HTTP_SERVICE_PORT>/metrics

For example:

http:// 192.0.2.0:7779/metrics