From 6e7015b3ebdfe742368ef95d0a15fb3b31dec0a3 Mon Sep 17 00:00:00 2001 From: Shizun Ge Date: Thu, 18 Jan 2024 23:18:34 -0800 Subject: [PATCH] [readme] update label of the metrics --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 1cd0c26..a6c82fd 100644 --- a/README.md +++ b/README.md @@ -99,8 +99,8 @@ Endlessh-go exports the following Prometheus metrics. | endlessh_client_closed_count_total | count | Total number of clients that stopped connecting to this host. | | endlessh_sent_bytes_total | count | Total bytes sent to clients that tried to connect to this host. | | endlessh_trapped_time_seconds_total | count | Total seconds clients spent on endlessh. | -| endlessh_client_open_count | count | Number of connections of clients.
Labels:
| -| endlessh_client_trapped_time_seconds | count | Seconds a client spends on endlessh.
Labels:
| +| endlessh_client_open_count | count | Number of connections of clients.
Labels:
| +| endlessh_client_trapped_time_seconds | count | Seconds a client spends on endlessh.
Labels:
| The metrics is off by default, you can turn it via the CLI argument `-enable_prometheus`.