Prometheus

TIBCO Cloud Integration - Flogo (PAYG) supports integration with Prometheus for app metrics monitoring. Prometheus is a monitoring tool which helps in analyzing the app metrics for flows and activities.

Prometheus servers scrape data from the HTTP /metrics endpoint of the apps.

Prometheus integrates with Grafana which provides better visual anlytics.

Flogo apps expose the following flow and activity metrics to Prometheus. These metrics are measured in milliseconds:

Labels Description
flogo_flow_execution_count: Total number of times the flow is started, completed, or failed
ApplicationName Name of app
ApplicationVersion Version of app
FlowName Name of flow
State State of the flow. One of the following states:
  • Started
  • Completed
  • Failed
flogo_flow_duration_msec: Total time (in ms) taken by the flow for successful completion or failure
ApplicationName Name of app
ApplicationVersion Version of app
FlowName Name of flow
State State of the flow. One of the following states:
  • Completed
  • Failed
flogo_activity_execution_count: Total number of times the activity is started, completed, or failed
ApplicationName Name of app
ApplicationVersion Version of app
FlowName Name of flow
ActivityName Name of activity
State State of the activity. One of the following states:
  • Started
  • Completed
  • Failed
flogo_activity_execution_duration_msec: Total time (in ms) taken by the activity for successful completion or failure
ApplicationName Name of app
ApplicationVersion Version of app
FlowName Name of flow
ActivityName Name of activity
State State of the activity. One of the following states:
  • Completed
  • Failed
Note: Deprecated in TIBCO Cloud Integration - Flogo (PAYG) 2.10.0.
flogo_flow_metrics: Used for flow-level queries
ApplicationName Name of app
ApplicationVersion Version of app
FlowName Name of flow
Started Total number of times flow is started
Completed Total number of times flow is completed
Failed Total number of times flow is failed
Note: Deprecated in TIBCO Cloud Integration - Flogo (PAYG) 2.10.0.
flogo_activity_metrics: Used for activity-level queries
ApplicationName Name of app
ApplicationVersion Version of app
FlowName Name of flow
ActivityName Name of Activity
Started Total number of times activity is started in given flow
Completed Total number of times activity is completed in given flow
Failed Total number of times activity is failed in given flow

For a list of some often-used flow-level queries, refer to the section, Often-Used Queries.

This section contains the following topics: