aboutsummaryrefslogtreecommitdiff
path: root/src/feature/relay/relay_metrics.h
diff options
context:
space:
mode:
authorfriendly73 <friendly73@x.x>2023-02-19 16:17:50 +0000
committerDavid Goulet <dgoulet@torproject.org>2023-05-25 11:03:35 -0400
commit36076d3c46afd02bb7072c9d2aa9c5196932f024 (patch)
tree591e88f1e467f986c40c2b29a451d9365c773d4e /src/feature/relay/relay_metrics.h
parenta1042f4873edd2f04787e7f60b3f9d3642b36611 (diff)
downloadtor-36076d3c46afd02bb7072c9d2aa9c5196932f024.tar.gz
tor-36076d3c46afd02bb7072c9d2aa9c5196932f024.zip
Added INTRO and REND metrics for relay.
Diffstat (limited to 'src/feature/relay/relay_metrics.h')
-rw-r--r--src/feature/relay/relay_metrics.h10
1 files changed, 9 insertions, 1 deletions
diff --git a/src/feature/relay/relay_metrics.h b/src/feature/relay/relay_metrics.h
index 100815051b..a2a52737ff 100644
--- a/src/feature/relay/relay_metrics.h
+++ b/src/feature/relay/relay_metrics.h
@@ -48,7 +48,15 @@ typedef enum {
/** Numer of circuits. */
RELAY_METRICS_NUM_CIRCUITS,
/** Timestamp at which the current online keys will expire. */
- RELAY_METRICS_SIGNING_CERT_EXPIRY
+ RELAY_METRICS_SIGNING_CERT_EXPIRY,
+ /** Number of times we received an EST_REND cell */
+ RELAY_METRICS_NUM_EST_REND,
+ /** Number of times we received an EST_INTRO cell */
+ RELAY_METRICS_NUM_EST_INTRO,
+ /** Number of times we received an INTRO1 cell */
+ RELAY_METRICS_NUM_INTRO1_CELLS,
+ /** Number of times we received a REND1 cell */
+ RELAY_METRICS_NUM_REND1_CELLS,
} relay_metrics_key_t;
/** The metadata of a relay metric. */