Skip to content

Commit

Permalink
refactor path
Browse files Browse the repository at this point in the history
  • Loading branch information
yufansong committed Feb 26, 2024
1 parent aabed69 commit 0ee3740
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion dashboard/pages/api/metric.ts
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ export const BackPressureInfo = {

// Get back pressure from meta node -> compute node
export async function getBackPressureWithoutPrometheus() {
const response = await api.get("/metrics/embedded_back_pressures")
const response = await api.get("/metrics/fragment/embedded_back_pressures")
let backPressureInfos: BackPressureInfo[] = response.backPressureInfos.map(
BackPressureInfo.fromJSON
)
Expand Down
2 changes: 1 addition & 1 deletion src/meta/src/dashboard/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -420,7 +420,7 @@ impl DashboardService {
get(prometheus::list_prometheus_fragment_back_pressure),
)
.route(
"/metrics/embedded_back_pressures",
"/metrics/fragment/embedded_back_pressures",
get(get_embedded_back_pressures),
)
.route("/monitor/await_tree/:worker_id", get(dump_await_tree))
Expand Down

0 comments on commit 0ee3740

Please sign in to comment.