From 4504bacd2376f3e2d4726fa870c90f22678624d7 Mon Sep 17 00:00:00 2001 From: Jianrong Zhang Date: Fri, 20 Dec 2024 18:22:37 -0500 Subject: [PATCH] Update serverlessworkflow/modules/ROOT/pages/_common-content/sonataflow-metrics.adoc Co-authored-by: Walter Medvedeo --- .../ROOT/pages/_common-content/sonataflow-metrics.adoc | 10 +++++----- .../pages/cloud/operator/monitoring-workflows.adoc | 2 +- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/serverlessworkflow/modules/ROOT/pages/_common-content/sonataflow-metrics.adoc b/serverlessworkflow/modules/ROOT/pages/_common-content/sonataflow-metrics.adoc index 5dcf41412..80ccca479 100644 --- a/serverlessworkflow/modules/ROOT/pages/_common-content/sonataflow-metrics.adoc +++ b/serverlessworkflow/modules/ROOT/pages/_common-content/sonataflow-metrics.adoc @@ -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] ---- @@ -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] ---- @@ -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 ---- diff --git a/serverlessworkflow/modules/ROOT/pages/cloud/operator/monitoring-workflows.adoc b/serverlessworkflow/modules/ROOT/pages/cloud/operator/monitoring-workflows.adoc index 19528057f..766fb7d67 100644 --- a/serverlessworkflow/modules/ROOT/pages/cloud/operator/monitoring-workflows.adoc +++ b/serverlessworkflow/modules/ROOT/pages/cloud/operator/monitoring-workflows.adoc @@ -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