Skip to content

Commit

Permalink
Update serverlessworkflow/modules/ROOT/pages/_common-content/sonatafl…
Browse files Browse the repository at this point in the history
…ow-metrics.adoc

Co-authored-by: Walter Medvedeo <[email protected]>
  • Loading branch information
jianrongzhang89 and wmedvede committed Dec 21, 2024
1 parent dc84901 commit 4504bac
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ kogito_process_instance_error_total{app_id="sonataflow-process-monitoring-listen
----

=== kogito_process_instance_duration_seconds
Calculates duration of a workflow instance that has reached a terminal state, i.e. `Aborted` or `Completed`. This metric is registered when the process reaches the terminal state.
Calculates duration of a workflow instance that has reached a terminal state, i.e. `Aborted` or `Completed`. This metric is registered when the workflow reaches the terminal state.

[source, yaml]
----
Expand All @@ -101,7 +101,7 @@ Calculates duration of a workflow instance that has reached a terminal state, i.
----

=== kogito_node_instance_duration_milliseconds
Records the duration of the execution for nodes relevant to the workflows. The metric is calculated when a given node has finished executing.
Records the duration of the execution for nodes relevant to the workflows. The metric is calculated when a given node has finished executing.

[source, yaml]
----
Expand Down Expand Up @@ -130,7 +130,7 @@ Parameters that are json values, or arrays are flattened.
# HELP sonataflow_input_parameters_counter_total Input parameters
# TYPE sonataflow_input_parameters_counter_total counter
sonataflow_input_parameters_counter_total{app_id="sonataflow-process-monitoring-listener",artifactId="serverless-workflow-project",param_name="name",param_value="John",process_id="callbackstatetimeouts",version="1.0.0-SNAPSHOT",} 1.0
sonataflow_input_parameters_counter_total{app_id="sonataflow-process-monitoring-listener",artifactId="serverless-workflow-project",param_name="surname.sur1",param_value="Medvedeo",process_id="callbackstatetimeouts",version="1.0.0-SNAPSHOT",} 1.0
sonataflow_input_parameters_counter_total{app_id="sonataflow-process-monitoring-listener",artifactId="serverless-workflow-project",param_name="name",param_value="bob",process_id="callbackstatetimeouts",version="1.0.0-SNAPSHOT",} 5.0
sonataflow_input_parameters_counter_total{app_id="sonataflow-process-monitoring-listener",artifactId="serverless-workflow-project",param_name="surname",param_value="esponja",process_id="callbackstatetimeouts",version="1.0.0-SNAPSHOT",} 5.0
sonataflow_input_parameters_counter_total{app_id="sonataflow-process-monitoring-listener",artifactId="serverless-workflow-project",param_name="surname.sur1",param_value="Lennon",process_id="callbackstatetimeouts",version="1.0.0-SNAPSHOT",} 1.0
sonataflow_input_parameters_counter_total{app_id="sonataflow-process-monitoring-listener",artifactId="serverless-workflow-project",param_name="name",param_value="Paul",process_id="callbackstatetimeouts",version="1.0.0-SNAPSHOT",} 5.0
sonataflow_input_parameters_counter_total{app_id="sonataflow-process-monitoring-listener",artifactId="serverless-workflow-project",param_name="surname.sur1",param_value="McCartney",process_id="callbackstatetimeouts",version="1.0.0-SNAPSHOT",} 5.0
----
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ oc expose service grafana-service
oc get route grafana-service -o jsonpath='{"http://"}{.spec.host}{"\n"}'
----
===== Open Grafana Dashboard UI
Open Grafana Dashboard UI in your web browser with the URL found. Log in using with admin user name `root` and passward `secret`.
Open Grafana Dashboard UI in your web browser with the URL found. Log in using with admin user name `root` and password `secret`.

=== Deploy Prometheus and Grafana on Kubernetes
==== Deploy Prometheus
Expand Down

0 comments on commit 4504bac

Please sign in to comment.