Skip to content

Commit

Permalink
[Fix #687] Updating metrics doc
Browse files Browse the repository at this point in the history
Fix #687
  • Loading branch information
fjtirado committed Nov 13, 2024
1 parent ee76259 commit 309a815
Showing 1 changed file with 20 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -145,14 +145,28 @@ For more information, see <<proc-enable-metrics-sw, Enabling metrics in {product
For more information about configuring Prometheus, see link:{prometheus_operator_getting_started_guide}[Configure Prometheus to monitor the sample targets] in Prometheus Getting Started document.

[[ref-sw-example-metrics]]
== Example metrics in {product_name}
== Metrics in {product_name}

In {product_name}, you can check the following example metrics:
In {product_name}, you can check the following metrics:

* `kogito_process_instance_completed_total`: Number of completed workflows
* `kogito_process_instance_started_total`: Number of started workflows
* `kogito_process_instance_error`: Number of workflows that report an error
* `kogito_process_instance_duration_seconds`: Duration of a process instance in seconds
* `kogito_node_instance_duration_milliseconds`: Duration of a relevant nodes in milliseconds

Optionally, if you include dependency

[source,xml]
----
<dependency>
<groupId>org.kie</groupId>
<artifactId>kie-addons-quarkus-monitoring-sonataflow</artifactId>
</dependency>
----

metric `sonataflow_input_parameters_counter`, which tracks input parameter, will be available. This metric is optional because it counts every workflow input parameter key-value combination, which might be space consuming.

* `kogito_process_instance_completed_total`: Completed workflows
* `kogito_process_instance_started_total`: Started workflows
* `kogito_process_instance_running_total`: Running workflows
* `kogito_process_instance_duration_seconds_sum`: Workflows total duration

[NOTE]
====
Expand Down

0 comments on commit 309a815

Please sign in to comment.