feat: update metric config

This commit is contained in:
Qiuxia Fan
2021-12-29 16:22:23 +08:00
parent 809fcff859
commit 4b9d1dd362
4 changed files with 45 additions and 12 deletions

View File

@@ -14,7 +14,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
export enum QueryTypes {
export enum MetricQueryTypes {
ReadMetricsValue = "readMetricsValue",
ReadMetricsValues = "readMetricsValues",
SortMetrics = "sortMetrics",
@@ -29,7 +29,7 @@ export enum MetricsType {
HEATMAP = "HEATMAP",
SAMPLED_RECORD = "SAMPLED_RECORD",
}
export const QueryMetricTypes: {
export const ValuesTypes: {
[key: string]: Array<{ label: string; value: string }>;
} = {
REGULAR_VALUE: [