Explorar el Código

More correct information on metrics

tags/1.0^2
9seconds hace 6 años
padre
commit
6dce3944e4
Se han modificado 1 ficheros con 8 adiciones y 16 borrados
  1. 8
    16
      README.md

+ 8
- 16
README.md Ver fichero

226
 
226
 
227
 All metrics are gauges. Here is the list of metrics and their meaning:
227
 All metrics are gauges. Here is the list of metrics and their meaning:
228
 
228
 
229
-| Metric name                      | Unit    | Description                                               |
230
-|----------------------------------|---------|-----------------------------------------------------------|
231
-| `connections.abridged.ipv4`      | number  | The number of active abridged IPv4 connections            |
232
-| `connections.abridged.ipv6`      | number  | The number of active abridged IPv6 connections            |
233
-| `connections.intermediate.ipv4`  | number  | The number of active intermediate IPv4 connections        |
234
-| `connections.intermediate.ipv6`  | number  | The number of active intermediate IPv6 connections        |
235
-| `connections.secure.ipv4`        | number  | The number of active secure intermediate IPv4 connections |
236
-| `connections.secure.ipv6`        | number  | The number of active secure intermediate IPv6 connections |
237
-| `telegram_connections.[dc].ipv4` | number  | The number of active abridged IPv4 connections            |
238
-| `telegram_connections.[dc].ipv6` | number  | The number of active abridged IPv6 connections            |
239
-| `crashes`                        | number  | An amount of crashes in client handlers                   |
240
-| `traffic.ingress`                | bytes   | Ingress traffic from the start of application (incoming)  |
241
-| `traffic.egress`                 | bytes   | Egress traffic from the start of application (outgoing)   |
242
-| `replay_attacks`                 | number  | The number of prevented replay attacks.                   |
229
+| Metric name            | Unit    | Description                                |
230
+|------------------------|---------|--------------------------------------------|
231
+| `connections`          | number  | The number of active connections.          |
232
+| `telegram_connections` | number  | The number of active telegram connections. |
233
+| `crashes`              | number  | An amount of crashes in client handlers.   |
234
+| `traffic.egress`       | bytes   | Traffic from the start of application.     |
235
+| `replay_attacks`       | number  | The number of prevented replay attacks.    |
243
 
236
 
244
 All metrics are prefixed with given prefix. Default prefix is `mtg`.
237
 All metrics are prefixed with given prefix. Default prefix is `mtg`.
245
-With such prefix metric name `traffic.ingress`, for example, would be
246
-`mtg.traffic.ingress`.
238
+Also, metrics provide tags (ipv4/ipv6, dc indexes etc).
247
 
239
 
248
 
240
 
249
 # Prometheus integration
241
 # Prometheus integration

Loading…
Cancelar
Guardar