-
Notifications
You must be signed in to change notification settings - Fork 454
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
5 changed files
with
21 additions
and
13 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,14 @@ | ||
package metrics | ||
|
||
var ( | ||
// ResponseTime reports the response time of handlers and rpc | ||
ResponseTime = "response_time_ns" | ||
// ConnectedClients represents the number of current connected clients in frontend servers | ||
ConnectedClients = "connected_clients" | ||
// CountServers counts the number of servers of different types | ||
CountServers = "count_servers" | ||
// ChannelCapacity represents the capacity of a channel (available slots) | ||
ChannelCapacity = "channel_capacity" | ||
// DroppedMessages reports the number of dropped messages in rpc server (messages that will not be handled) | ||
DroppedMessages = "dropped_messages" | ||
) |
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