forked from cilium/cilium
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix k8s latency metrics label cardinality
The functionality provided by the finalURLTemplate is still used by Cilium to track the request latency for requests performed to Kubernetes. Until this is reverted upstream we will maintain this fork with this change so that we can still used the functionality provided by finalURLTemplate. This functionality prevents the explosion of label cardinality in prometheus metrics since it aggregates in a way that common URLs requests will be reported as being the same. Signed-off-by: André Martins <[email protected]>
- Loading branch information
Showing
4 changed files
with
86 additions
and
10 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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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