diff options
author | David Goulet <dgoulet@torproject.org> | 2022-10-27 10:00:50 -0400 |
---|---|---|
committer | David Goulet <dgoulet@torproject.org> | 2022-10-27 10:48:48 -0400 |
commit | 48ab17cc72864529ed11d579552dfc2f0cf93f9d (patch) | |
tree | 64a92f408a4bb13162f87bbd14ecbdbd485c0fcd /src/feature/relay/relay_metrics.h | |
parent | cd7be492d1b70df50b4e35df5cc595490f912c9a (diff) | |
download | tor-48ab17cc72864529ed11d579552dfc2f0cf93f9d.tar.gz tor-48ab17cc72864529ed11d579552dfc2f0cf93f9d.zip |
metrics: Add traffic related stats to MetricsPort
At this commit, bytes read and written are exported.
Related to #40194
Signed-off-by: David Goulet <dgoulet@torproject.org>
Diffstat (limited to 'src/feature/relay/relay_metrics.h')
-rw-r--r-- | src/feature/relay/relay_metrics.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/feature/relay/relay_metrics.h b/src/feature/relay/relay_metrics.h index 2aa227c9cb..d501176f2e 100644 --- a/src/feature/relay/relay_metrics.h +++ b/src/feature/relay/relay_metrics.h @@ -37,6 +37,8 @@ typedef enum { RELAY_METRICS_NUM_CC = 9, /** Denial of Service defenses subsystem. */ RELAY_METRICS_NUM_DOS = 10, + /** Denial of Service defenses subsystem. */ + RELAY_METRICS_NUM_TRAFFIC = 11, } relay_metrics_key_t; /** The metadata of a relay metric. */ |