mirror of
https://github.com/prometheus/prometheus
synced 2024-12-24 23:42:32 +00: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`}>
|
||||
<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} />
|
||||
<Alerts path="/alerts" pathPrefix={pathPrefix} />
|
||||
<Config path="/config" pathPrefix={pathPrefix} />
|
||||
|
@ -84,6 +84,7 @@ var (
|
||||
"/service-discovery",
|
||||
"/status",
|
||||
"/targets",
|
||||
"/tsdb-status",
|
||||
"/version",
|
||||
}
|
||||
)
|
||||
|
Loading…
Reference in New Issue
Block a user