-
Notifications
You must be signed in to change notification settings - Fork 3.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
135705: server,ui: include recorded tsdb metric names in /_admin/v1/metricmet… r=kyle-a-wong a=kyle-a-wong …adata Added an additional field, `recordedNames` to the `/_admin/v1/metricdata` response that provides a mapping from metric name to the name recorded in tsdb. This will enable the ability to create tsdb queries purely with the response of this API, as opposed to needing additional data from elsewhere. Metrics recorded in tsdb are prefixed with either `cr.node.` or `cr.store.` depending on if they are node or store level metrics. The custom chart component in db-console is an example of where this was needed. Previously, the component requires both data from this API and metric data from `/_status/nodes_ui` in order to create a list of metrics to build custom queries with. Now, the custom chart component can create this list of metrics purely with the data from `/_admin/v1/metricdata` Epic: none Release note: none Co-authored-by: Kyle Wong <[email protected]>
- Loading branch information
Showing
8 changed files
with
114 additions
and
51 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