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

manirajv06 pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/yunikorn-site.git


The following commit(s) were added to refs/heads/master by this push:
     new 6fcb12a5a3 [YUNIKORN-3310] Document yunikorn_queue_app_total metric 
(#564)
6fcb12a5a3 is described below

commit 6fcb12a5a3af042eda74e04172f2399a2a8fd040
Author: Guruprasad Veerannavaru <[email protected]>
AuthorDate: Tue Jul 7 22:00:41 2026 +0530

    [YUNIKORN-3310] Document yunikorn_queue_app_total metric (#564)
    
    Add documentation for the new queue_app_total counter metric
    that tracks terminal application states.
    
    Committed-By-Agent: claude
    
    Closes: #564
    
    Signed-off-by: Manikandan R <[email protected]>
---
 docs/metrics/queue.md | 23 +++++++++++++++++++++++
 1 file changed, 23 insertions(+)

diff --git a/docs/metrics/queue.md b/docs/metrics/queue.md
index 0b1c05d0b6..27c1a96df0 100644
--- a/docs/metrics/queue.md
+++ b/docs/metrics/queue.md
@@ -45,6 +45,29 @@ yunikorn_queue_app{queue="root.default",state="accepted"} 3
 yunikorn_queue_app{queue="root.default",state="running"} 3
 ```
 
+## Application Total
+
+The `yunikorn_queue_app_total` metric, introduced in version `1.10.0`, tracks 
the cumulative number of applications that reached a terminal state in each 
queue. Unlike the `yunikorn_queue_app` gauge, this counter is monotonically 
increasing and persists across queue removal and recreation.
+
+### Metric details
+
+**Metric Type**: `counter`
+
+**Namespace**: `yunikorn`
+
+**Labels**:
+- `queue`: the name of the queue (e.g., "root.default")
+- `state`: the terminal state of the application
+  - `completed`, `failed`, `rejected`
+
+**TYPE**: `yunikorn_queue_app_total`
+
+```json
+yunikorn_queue_app_total{queue="root.default",state="completed"} 15
+yunikorn_queue_app_total{queue="root.default",state="failed"} 2
+yunikorn_queue_app_total{queue="root.default",state="rejected"} 1
+```
+
 ## Resource
 The `yunikorn_queue_resource` metric, introduced in version `1.5.0`, tracks 
the resource states in each queue using labels.
 


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to