Skip to main content

Platform Metrics

Platform Metrics

Overview

From version 2.3.0 platform stores various metrics into InfluxDB. Installation package contains Grafana UI and pre-defined dashboards for metrics representations.

https://<ControlServerAddress>/grafana/

Some of dashboards are intended to be presented in Control Server UI and some of them you can use as a sample template for you own dashboards.

Here are the metrics reference guide.

Task Run metrics

rpaplatform_task - counter

Triggers every time (ones), when Automation process run change its status. Value always 1.

rpaplatform_task_time - counter

Triggers every time (ones), when Automation process run change its status. Value contains milliseconds from the last status change.

Task run metrics tags

tagdescription
ap_idAutomation Process id.
ap_uuidAutomation Process UUID
ap_nameAutomation Process name
run_idAutomation Process Run id.
run_uuidAutomation Process Run uuid.
task_uuidOptional. Task UUID, if record represents task run.
task_classOptional. Task class name, if record represents task run.
node_idOptional. Node id, if node already assigned.
node_nameOptional. Node name, if node already assigned.
task_status

Automation Process Run status. 

SUBMITTED, QUEUED, DEPLOYING_ON_NODE, IN_PROGRESS, STOPPING,

STOPPED, FAILED, COMPLETED, STOPPED_IDLE

task_typetask or module. Task or Automation Process run

Human Task Metrics

rpaplatform_htask - counter

Triggers every time (ones), when Human Task change its status. Value always 1.

rpaplatform_htask_time - counter

Triggers every time (ones), when Human Task change its status. Value contains milliseconds from the last status change.

Human Task metrics tags

tagdescription
ap_idAutomation Process id.
ap_uuidAutomation Process UUID
ap_nameAutomation Process name
run_idAutomation Process Run id.
run_uuidAutomation Process Run uuid.
task_uuidOptional. Task UUID, if record represents task run.
task_classOptional. Task class name, if record represents task run.
node_idOptional. Node id, if node already assigned.
node_nameOptional. Node name, if node already assigned.
htask_status

Human Task status:

  • AVAILABLE
  • IN_PROGRESS
  • SKIPPED
  • TIMED_OUT
  • COMPLETED
  • STOPPED
user_nameName of user who perform human task action.
user_idId of user who perform human task action.
doc_type_idHuman task document type id
doc_type_nameHuman task document type name
workspace_group_idHuman task workspace group id
workspace_group_nameHuman task workspace group name

Node Metrics

rpaplatform_node_cpu - gauge

Triggers every minute with value = number of node CPUs.

rpaplatform_node_cpu_usage - gauge

Triggers every minute with value = node's cpu usage.

rpaplatform_node_memory_free - gauge

Triggers every minute with value = node's free memory.

rpaplatform_node_memory_total - gauge

Triggers every minute with value = node's total memory.

rpaplatform_node_free_ui_executors - gauge

Triggers every minute with value = free node's desktop executors.

rpaplatform_node_free_task_executors - gauge

Triggers every minute with value = free node's task executors.

Node metrics tags

tagdescription
node_idNode id.
node_nameNode name.

rpaplatform_queue - counter

Triggers for every OCR or ML queue operation.

Node metrics tags

tagdescription
ap_idAutomation Process id.
ap_uuidAutomation Process UUID
ap_nameAutomation Process name
run_idAutomation Process Run id.
run_uuidAutomation Process Run uuid.
queue_nameQueue name: ML, OCR
queue_operationQueue operation: send, receive

Docker Container metrics

Telegraf docker plugin is using to collect metrics. Please refer to the plugin documentation for metric specification.

https://github.com/influxdata/telegraf/tree/master/plugins/inputs/docker

ActiveMQ metrics

Telegraf ActiveMQ plugin is using to collect metrics. Please refer to the plugin documentation for metric specification.

https://github.com/influxdata/telegraf/tree/master/plugins/inputs/activemq

ML Container metrics

Fron version 3.4.0 the ML container has the following metrics:

rpaplatform_ml_event - counter

Triggers every time (ones), when queue item changes it status. Value always 1.

tagdescription
hostThe ml container host name
message_idThe ActiveMQ message id
message_uuidAn unique message id assigned to message by ML container
message_task_uuidThe task UUID of the queue item assigned by Control Server
message_typeThe CS message type, train or process
event

A event has been triggered for the message. Has the following values:

  • RECEIVED - the message received
  • PROCESSING - the message processing cycle has been started
  • POSTPONE - the message processing has been postponed
  • RESTORED - a message has been restored and ready for processing
  • ERROR - an error has been occurs
  • PROCESSED - the message processing cycle has been completed
  • SENT - the message processing has been completed and result sent back to CS

rpaplatform_ml_state

Triggers one per SLEEP_INTERVAL, and has values this container state:

tagdescription
hostThe ml container host name
fielddescription
RECEIVEDThe count of received queue items from the last event.
PROCESSINGThe count of processing queue items from the last event.
ERRORThe count of error queue items from the last event.
SENTThe count of sent queue items from the last event.

rpaplatform_ml_openai_usage

Triggers every time (ones), when OpenAI model receives and LLM response with token usage.

tagdescription
hostThe ml container host name
message_idThe ActiveMQ message id
message_uuidAn unique message id assigned to message by ML container
message_task_uuidThe task UUID of the queue item assigned by Control Server
message_typeThe CS message type, train or process
fielddescription
prompt_tokensThe prompts token usage for the processed document
completion_tokensThe completion token usage for the processed document
total_tokensThe total token usage for the processed document