diff --git a/src/lib/orchestrator.ts b/src/lib/orchestrator.ts index d8b19ab..3553c80 100644 --- a/src/lib/orchestrator.ts +++ b/src/lib/orchestrator.ts @@ -602,7 +602,7 @@ export async function updateControlInScope(scope: ControlInScope, fetch = window * @returns an array of {@link Metric}s. */ export async function listMetrics(fetch = window.fetch): Promise { - const apiUrl = clouditorize(`/v1/orchestrator/metrics?pageSize=200`) + const apiUrl = clouditorize(`/v1/orchestrator/metrics?pageSize=200&orderBy=id&asc=true`) return fetch(apiUrl, { method: 'GET',