More correct information on metrics

This commit is contained in:
9seconds
2019-11-18 10:04:51 +03:00
parent 112d3a916c
commit 6dce3944e4
+8 -16
View File
@@ -226,24 +226,16 @@ and [Datadog](https://docs.datadoghq.com/developers/dogstatsd/).
All metrics are gauges. Here is the list of metrics and their meaning: All metrics are gauges. Here is the list of metrics and their meaning:
| Metric name | Unit | Description | | Metric name | Unit | Description |
|----------------------------------|---------|-----------------------------------------------------------| |------------------------|---------|--------------------------------------------|
| `connections.abridged.ipv4` | number | The number of active abridged IPv4 connections | | `connections` | number | The number of active connections. |
| `connections.abridged.ipv6` | number | The number of active abridged IPv6 connections | | `telegram_connections` | number | The number of active telegram connections. |
| `connections.intermediate.ipv4` | number | The number of active intermediate IPv4 connections | | `crashes` | number | An amount of crashes in client handlers. |
| `connections.intermediate.ipv6` | number | The number of active intermediate IPv6 connections | | `traffic.egress` | bytes | Traffic from the start of application. |
| `connections.secure.ipv4` | number | The number of active secure intermediate IPv4 connections | | `replay_attacks` | number | The number of prevented replay attacks. |
| `connections.secure.ipv6` | number | The number of active secure intermediate IPv6 connections |
| `telegram_connections.[dc].ipv4` | number | The number of active abridged IPv4 connections |
| `telegram_connections.[dc].ipv6` | number | The number of active abridged IPv6 connections |
| `crashes` | number | An amount of crashes in client handlers |
| `traffic.ingress` | bytes | Ingress traffic from the start of application (incoming) |
| `traffic.egress` | bytes | Egress traffic from the start of application (outgoing) |
| `replay_attacks` | number | The number of prevented replay attacks. |
All metrics are prefixed with given prefix. Default prefix is `mtg`. All metrics are prefixed with given prefix. Default prefix is `mtg`.
With such prefix metric name `traffic.ingress`, for example, would be Also, metrics provide tags (ipv4/ipv6, dc indexes etc).
`mtg.traffic.ingress`.
# Prometheus integration # Prometheus integration