This repository has been archived by the owner on Mar 27, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 109
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
27 changed files
with
466 additions
and
296 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,37 @@ | ||
|
||
--- | ||
method: POST | ||
endpoint: /query/metrics | ||
help: Query for metrics | ||
description: Query and aggregate metrics. | ||
fields: | ||
- name: range | ||
required: true | ||
type_name: QueryDateRange | ||
purpose: 'The range in time for which to query' | ||
- name: filter | ||
type_name: Filter | ||
- name: aggregation | ||
type_name: Aggregation | ||
purpose: Aggregation to use when down-sampling. | ||
- name: features | ||
type_json: '[<string>, ...]' | ||
purpose: | | ||
Enable or disable a feature on a per-query basis. | ||
See <a href="docs/config#features">Features Configuration</a> for more details. | ||
response_fields: | ||
- name: 'range' | ||
type_json: '{start: <number>, end: <number>}' | ||
purpose: 'The range in time for which to query' | ||
- name: 'errors' | ||
type_name: 'RequestError' | ||
purpose: 'Potential errors returned either from different shards or for specific time series. The presence of an error does not cause the entire query to fail, instead it is up to the client to use this information to decide if the response is reliable enough.' | ||
- name: 'result' | ||
type_name: 'ShardedResultGroup' | ||
type_array: true | ||
purpose: 'An array of result groups.' | ||
- name: 'statistics' | ||
type_name: 'Statistics' | ||
purpose: 'Statistics about the current query. This field should be inspected for errors which will have caused the result to be inconsistent.' | ||
--- | ||
<em>Note that the <code>x-client-id: my_app_name</code> | ||
header must be supplied since anonymous requests are not permitted.</em> |
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.