Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
adapter: Add metric for /metrics payload size
We saw that the query log/query log ad hoc can cause the /metrics payload to grow, so this commit adds an easy way to determine the current payload size of that endpoint. It also creates an extensible struct that can be re-used for other http endpoints that may have interesting metrics to report. Change-Id: Ia5657ebbb2f471a3d1edf74b087b73bf081508b2 Reviewed-on: https://gerrit.readyset.name/c/readyset/+/6219 Tested-by: Buildkite CI Reviewed-by: Jason Brown <jason.b@readyset.io>
- Loading branch information
1 parent
d34ba16
commit e2aac68
Showing
3 changed files
with
33 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
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