-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
net: MultiListener add name label to prometheus metrics
- Loading branch information
Showing
4 changed files
with
114 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
# HELP test_listener_accepted_total Number of accepted connections | ||
# TYPE test_listener_accepted_total counter | ||
test_listener_accepted_total{name="a"} 10 | ||
test_listener_accepted_total{name="b"} 10 | ||
# HELP test_listener_closed_total Number of closed connections | ||
# TYPE test_listener_closed_total counter | ||
test_listener_closed_total{name="a"} 10 | ||
test_listener_closed_total{name="b"} 10 | ||
# HELP test_listener_errors_total Number of listener errors when accepting connections | ||
# TYPE test_listener_errors_total counter | ||
test_listener_errors_total{name="a"} 0 | ||
test_listener_errors_total{name="b"} 0 |