feat: add visualization

This commit is contained in:
Qiuxia Fan
2021-12-30 14:48:16 +08:00
parent 9ae1f26d84
commit 834cde9562
2 changed files with 54 additions and 1 deletions

View File

@@ -14,6 +14,20 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
export const ChartTypes = [
{ label: "Bar", value: "bar" },
{ label: "Line", value: "line" },
{ label: "Area", value: "area" },
{ label: "Heat Map", value: "heatMap" },
{ label: "Pie", value: "pie" },
{ label: "Sankey", value: "sankey" },
{ label: "Gauge", value: "gauge" },
{ label: "Card", value: "card" },
{ label: "Table", value: "table" },
{ label: "Progress Bar", value: "progressBar" },
{ label: "Endpoint List", value: "endpointList" },
{ label: "Instance List", value: "instanceList" },
];
export enum MetricQueryTypes {
ReadMetricsValue = "readMetricsValue",
ReadMetricsValues = "readMetricsValues",