refactor: create a component for metric config

This commit is contained in:
Qiuxia Fan
2022-01-19 18:12:16 +08:00
parent 3d6fe887a5
commit 4baa00001a
10 changed files with 201 additions and 226 deletions

View File

@@ -92,7 +92,7 @@ export enum MetricsType {
HEATMAP = "HEATMAP",
SAMPLED_RECORD = "SAMPLED_RECORD",
}
export const ValuesTypes: {
export const MetricTypes: {
[key: string]: Array<{ label: string; value: string }>;
} = {
REGULAR_VALUE: [