Flow heading-link-icon

Flow metrics measure the execution of flow classes provided by the CorDapp Corda Distributed Application. A Java (or any JVM targeting language) application built using the Corda build toolchain and CorDapp API to solve some problem that is best solved in a decentralized manner. , providing an indication of the performance and health of the flow engine Corda uses to execute these flows.

MetricTypeTagsDescription
corda_flow_run_time_secondsTimer
  • virtualnode
  • flow_class
  • status
The time it took for a flow to complete successfully or to produce an error.
corda_flow_fiber_serialization_time_secondsTimer
  • flow_class
The time it took to serialize a flow fiber.
corda_flow_fiber_deserialization_time_secondsTimer
  • flow_class
The time it took to serialize a flow fiber.
corda_flow_start_lag_secondsTimer
  • flow_class
The lag between flow start event, the REST API, and the flow processor.
corda_flow_execution_time_secondsTimer
  • flow_class
  • status
The time it took to execute the flow (excluding any start lag).
corda_flow_event_lag_secondsTimer
  • flow_class
  • flow_event
The lag between flow event publication and processing.
corda_flow_event_pipeline_execution_time_secondsTimer
  • flow_class
  • flow.event
The time it took to execute the pipeline for given flows and flow event types.
corda_flow_event_fiber_execution_time_secondsTimer
  • flow_class
The time it took to execute the fiber for a single suspension point.
corda_flow_pipeline_execution_time_secondsTimer
  • flow_class
The total time that a flow spent processing in the pipeline, rather than queued (includes fiber execution time.)
corda_flow_fiber_execution_time_secondsTimer
  • flow_class
The total time a flow spent executing user code in the fiber.
corda_flow_suspension_wait_time_secondsTimer
  • flow_class
The time a flow spent waiting to awake from a suspension.
corda_flow_event_suspension_wait_time_secondsTimer
  • flow_class
  • flow_suspension_action
The time a flow spent waiting to awake from a single suspension, broken down by action.
corda_flow_scheduled_wakeup_countCounterNoneThe number of times a scheduled wakeup is published for flows.

Tags:

  • virtualnode: The short hash of the virtual node The combination of the context of a user and the ephemeral compute instances created to progress a transaction on that identity's behalf. to which a metric applies.
  • flow_class: The flow class for the metric.
  • status: Indicates whether an operation succeeded or failed.
  • flow_event: The type of event that was being processed for a given metric.
  • flow_suspension_action: The action that triggered the flow to suspend.

Was this page helpful?

Thanks for your feedback!

Chat with us

Chat with us on our #docs channel on slack. You can also join a lot of other slack channels there and have access to 1-on-1 communication with members of the R3 team and the online community.

Propose documentation improvements directly

Help us to improve the docs by contributing directly. It's simple - just fork this repository and raise a PR of your own - R3's Technical Writers will review it and apply the relevant suggestions.

We're sorry this page wasn't helpful. Let us know how we can make it better!

Chat with us

Chat with us on our #docs channel on slack. You can also join a lot of other slack channels there and have access to 1-on-1 communication with members of the R3 team and the online community.

Create an issue

Create a new GitHub issue in this repository - submit technical feedback, draw attention to a potential documentation bug, or share ideas for improvement and general feedback.

Propose documentation improvements directly

Help us to improve the docs by contributing directly. It's simple - just fork this repository and raise a PR of your own - R3's Technical Writers will review it and apply the relevant suggestions.