metrics: Add metrics for rendezvous and introduction request failures.

This introduces a couple of new service side metrics:
* `hs_intro_rejected_intro_req_count`, which counts the number of introduction
  requests rejected by the hidden service
* `hs_rdv_error_count`, which counts the number of rendezvous errors as seen by
  the hidden service (this number includes the number of circuit establishment
  failures, failed retries, end-to-end circuit setup failures)

Closes #40755. This partially addresses #40717.

Signed-off-by: Gabriela Moldovan <gabi@torproject.org>
This commit is contained in:
Gabriela Moldovan
2023-02-10 12:20:23 +00:00
parent 482ce87a8d
commit db4c4d656a
10 changed files with 92 additions and 15 deletions
+3
View File
@@ -0,0 +1,3 @@
o Minor features (metrics):
- Add service side metrics for REND and introduction request failures.
Closes ticket 40755.