mirror of
https://gitlab.torproject.org/tpo/anti-censorship/pluggable-transports/snowflake.git
synced 2025-10-13 11:11:30 -04:00
Record proxy type for proxy relay stats
This commit is contained in:
parent
03b2b56f87
commit
36f03dfd44
2 changed files with 6 additions and 6 deletions
|
@ -286,7 +286,7 @@ func initPrometheus() *PromMetrics {
|
|||
Name: "rounded_proxy_poll_with_relay_url_extension_total",
|
||||
Help: "The number of snowflake proxy polls with Relay URL Extension, rounded up to a multiple of 8",
|
||||
},
|
||||
[]string{"nat"},
|
||||
[]string{"nat", "type"},
|
||||
)
|
||||
|
||||
promMetrics.ProxyPollWithoutRelayURLExtensionTotal = NewRoundedCounterVec(
|
||||
|
@ -295,7 +295,7 @@ func initPrometheus() *PromMetrics {
|
|||
Name: "rounded_proxy_poll_without_relay_url_extension_total",
|
||||
Help: "The number of snowflake proxy polls without Relay URL Extension, rounded up to a multiple of 8",
|
||||
},
|
||||
[]string{"nat"},
|
||||
[]string{"nat", "type"},
|
||||
)
|
||||
|
||||
promMetrics.ProxyPollRejectedForRelayURLExtensionTotal = NewRoundedCounterVec(
|
||||
|
@ -304,7 +304,7 @@ func initPrometheus() *PromMetrics {
|
|||
Name: "rounded_proxy_poll_rejected_relay_url_extension_total",
|
||||
Help: "The number of snowflake proxy polls rejected by Relay URL Extension, rounded up to a multiple of 8",
|
||||
},
|
||||
[]string{"nat"},
|
||||
[]string{"nat", "type"},
|
||||
)
|
||||
|
||||
promMetrics.ClientPollTotal = NewRoundedCounterVec(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue