You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flink.apache.org by we...@apache.org on 2026/06/08 04:05:42 UTC

(flink-agents) branch main updated: [docs] Add chat model retry metrics to monitoring (#787)

This is an automated email from the ASF dual-hosted git repository.

wenjin272 pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/flink-agents.git


The following commit(s) were added to refs/heads/main by this push:
     new 471ab468 [docs] Add chat model retry metrics to monitoring (#787)
471ab468 is described below

commit 471ab468cf4f4268d7e97249185e0bd9613b60d7
Author: Eugene <me...@gmail.com>
AuthorDate: Mon Jun 8 12:05:36 2026 +0800

    [docs] Add chat model retry metrics to monitoring (#787)
---
 docs/content/docs/operations/monitoring.md | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/docs/content/docs/operations/monitoring.md b/docs/content/docs/operations/monitoring.md
index 68012f01..eb657023 100644
--- a/docs/content/docs/operations/monitoring.md
+++ b/docs/content/docs/operations/monitoring.md
@@ -48,6 +48,8 @@ Token usage metrics are automatically recorded when chat models are invoked thro
 |-----------|--------------------------------------------------------------|--------------------------------------------------------------------------------|-------|
 | **Model** | action.\<action_name\>.model.\<model_name\>.promptTokens     | The total number of prompt tokens consumed by the model within an action.      | Count |
 | **Model** | action.\<action_name\>.model.\<model_name\>.completionTokens | The total number of completion tokens generated by the model within an action. | Count |
+| **Model** | action.\<action_name\>.model.\<connection_name\>.retryCount  | The total number of retries performed for model requests when using `ErrorHandlingStrategy.RETRY`. Only recorded when at least one retry occurs. See [retry-wait-interval]({{< ref "docs/operations/configuration#core-options" >}}). | Count |
+| **Model** | action.\<action_name\>.model.\<connection_name\>.retryWaitSec | The total wait time (in seconds) spent across retries for model requests when using `ErrorHandlingStrategy.RETRY`. | Count |
 
 ### How to add custom metrics