Apply suggestions from code review

Co-authored-by: Andrew Morgan <1342360+anoadragon453@users.noreply.github.com>
pull/8712/head
Erik Johnston 2020-11-13 10:51:12 +00:00 committed by GitHub
parent 8193350e0c
commit 5570f1deae
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions

View File

@ -1 +1 @@
Add metrics for tracking 3PID `/requestToken` requests.
Add metrics the allow the local sysadmin to track 3PID `/requestToken` requests.

View File

@ -505,8 +505,8 @@ last_ticked = time.time()
# 3PID send info
threepid_send_requests = Histogram(
"synapse_threepid_send_requests_with_tries",
documentation="Number of requests for a 3pid token by retry count. Note if"
" there is a request with rerty count of 4, then there would have been one"
documentation="Number of requests for a 3pid token by try count. Note if"
" there is a request with retry count of 4, then there would have been one"
" each for 1, 2 and 3",
buckets=(1, 2, 3, 4, 5, 10),
labelnames=("type", "reason"),