-
Notifications
You must be signed in to change notification settings - Fork 29
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Handle "not modified" errors properly (#120)
For Connect RPCs that use GET and a "304 Not Modified" status is returned, the metric will use the `http.status_code` attribute with a value of 304, instead of an `rpc.connect.error_code` attribute. (It would previously label the metric with an error code of "unknown", which is misleading.)
- Loading branch information
Showing
2 changed files
with
7 additions
and
1 deletion.
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