This repository has been archived by the owner on May 23, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 288
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Rename RPC metrics and use more tags (#121)
Remove "_ms" suffix from request latency metric name In practice, the precision of the recorded timing values depends on the metrics backend and the client library. Since we're using time.Duration based API, we cannot claim the unit of measure in the metric name. Rename all metrics to "request" and "http_request" and use tags for other dimensions Success/failure are distinguished by error=true|false tag. HTTP Requests are distinguished by status_code=2xx|3xx|... tag
- Loading branch information
1 parent
bcc8018
commit 1669a1b
Showing
4 changed files
with
37 additions
and
44 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