-
Notifications
You must be signed in to change notification settings - Fork 538
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add throughput and SLO metrics in the tags and tag values endpoints (#…
…4148) propagate the bytes read from the storage layer to the frontend, and use bytes read to compute throughout, and use that in SLO computation for metadata endpoints. metadata SLO thresholds can be configured via `metadata_slo` config. ``` search: metadata_slo: duration_slo: 5s throughput_bytes_slo: 1.073741824e+09 ``` we will also return the `metrics` in the response of all the metadata endpoints: - `/search/tags` - `/v2/search/tags` - `/search/tag/<tagName>/values` - `/v2/search/tag/<tagName>/values` here is what the it looks like in the response: ```json { "<existing keys>": "<existing response>", "metrics": { "inspectedBytes": "630188" } } ``` we return `"metrics": {}` when response is empty or only contains `intrinsics` it will also expose these new label to existing metrics with `op="metadata"` label - total metadata queries counter - metadata queries within SLO counter - metadata queries throughput histogram
- Loading branch information
1 parent
e37f481
commit 327c964
Showing
54 changed files
with
2,171 additions
and
701 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
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
Oops, something went wrong.