Ray Dashboard
@@ -123,7 +110,7 @@ const Dashboard: React.FC = () => {
color="primary"
onClick={() => history.push("/node")}
>
- Try Experimental Dashboard
+ Back to new dashboard
{
))}
- {usageStatsPromptEnabled ? (
-
- {usageStatsEnabled ? (
-
- Usage stats collection is enabled. To disable this, add
- `--disable-usage-stats` to the command that starts the cluster, or
- run the following command: `ray disable-usage-stats` before
- starting the cluster. See{" "}
-
- https://docs.ray.io/en/master/cluster/usage-stats.html
- {" "}
- for more details.
-
- ) : (
- Usage stats collection is disabled.
- )}
-
- ) : null}
+
);
diff --git a/dashboard/client/src/pages/layout/index.tsx b/dashboard/client/src/pages/layout/index.tsx
index 6696fde4e..34279db88 100644
--- a/dashboard/client/src/pages/layout/index.tsx
+++ b/dashboard/client/src/pages/layout/index.tsx
@@ -9,6 +9,7 @@ import { NightsStay, VerticalAlignTop, WbSunny } from "@material-ui/icons";
import classnames from "classnames";
import React, { PropsWithChildren } from "react";
import { RouteComponentProps } from "react-router-dom";
+import { UsageStatsAlert } from "../../common/UsageStatsAlert";
import SpeedTools from "../../components/SpeedTools";
import Logo from "../../logo.svg";
@@ -130,9 +131,9 @@ const BasicLayout = (