CEC-1387 superset integration and removal of grafana (#138)

* replace grafana with superset

* updating snapshots
This commit is contained in:
Drew Taylor
2022-04-18 09:02:17 -07:00
committed by GitHub
parent 11c85e57d6
commit 491de89269
44 changed files with 1059 additions and 3228 deletions

View File

@@ -10,7 +10,7 @@ import ListItemLink from "../ListItemLink";
import ListItemExternalLink from "../ListItemExternalLink";
import { useUserContext } from "../Contexts/UserContext";
import { Roles, hasRole } from "../../utils/roles";
import { grafanaCharts } from "../../services/grafanaCharts";
import { SupersetDashboardURL } from "../../services/superset";
const menuData = [
{
@@ -39,19 +39,9 @@ const menuData = [
},
{
label: "Datascope",
to: "/datascope",
url: SupersetDashboardURL,
icon: <AssessmentIcon />,
roles: [Roles.READ, Roles.CREATE],
submenus: [
{
label: "Battery",
to: "/datascope/battery",
},
{
label: "Diagnostics",
url: grafanaCharts.BASE,
},
],
},
];