mirror of
https://github.com/prometheus/prometheus.git
synced 2025-02-21 03:16:00 -08:00
React UI: Add /tsdb-status to React-handled routes (#6313)
Signed-off-by: Julius Volz <julius.volz@gmail.com>
This commit is contained in:
parent
3e3b7ceb0b
commit
d2cb05846b
|
@ -15,6 +15,10 @@ const App: FC<PathPrefixProps> = ({ pathPrefix }) => {
|
||||||
<Router basepath={`${pathPrefix}/new`}>
|
<Router basepath={`${pathPrefix}/new`}>
|
||||||
<Redirect from="/" to={`${pathPrefix}/new/graph`} />
|
<Redirect from="/" to={`${pathPrefix}/new/graph`} />
|
||||||
|
|
||||||
|
{/*
|
||||||
|
NOTE: Any route added here needs to also be added to the list of
|
||||||
|
React-handled router paths ("reactRouterPaths") in /web/web.go.
|
||||||
|
*/}
|
||||||
<PanelList path="/graph" pathPrefix={pathPrefix} />
|
<PanelList path="/graph" pathPrefix={pathPrefix} />
|
||||||
<Alerts path="/alerts" pathPrefix={pathPrefix} />
|
<Alerts path="/alerts" pathPrefix={pathPrefix} />
|
||||||
<Config path="/config" pathPrefix={pathPrefix} />
|
<Config path="/config" pathPrefix={pathPrefix} />
|
||||||
|
|
|
@ -84,6 +84,7 @@ var (
|
||||||
"/service-discovery",
|
"/service-discovery",
|
||||||
"/status",
|
"/status",
|
||||||
"/targets",
|
"/targets",
|
||||||
|
"/tsdb-status",
|
||||||
"/version",
|
"/version",
|
||||||
}
|
}
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in a new issue