Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
The Tor Project
Anti-censorship
Pluggable Transports
Snowflake
Commits
0293674e
Commit
0293674e
authored
Jun 11, 2019
by
Cecylia Bocovich
Browse files
Zero out counts for next time step
parent
d57cd075
Changes
1
Hide whitespace changes
Inline
Side-by-side
broker/metrics.go
View file @
0293674e
...
...
@@ -117,6 +117,9 @@ func (m *Metrics) logMetrics() {
m
.
logger
.
Println
(
"client-snowflake-match-count "
,
m
.
clientProxyMatchCount
)
//restore all metrics to original values
m
.
proxyIdleCount
=
0
m
.
clientDeniedCount
=
0
m
.
clientProxyMatchCount
=
0
m
.
countryStats
.
counts
=
make
(
map
[
string
]
int
)
}
}
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment