Skip to content

Commit 104c776

Browse files
yomybabyagatha197
authored andcommitted
docs(admin): add captured screenshots for Prometheus Query Presets (PR D)
Captures all 3 planned screenshots × 4 languages (12 PNGs): - admin_prometheus_preset_list.png - admin_prometheus_preset_create_modal.png - admin_prometheus_preset_edit_modal.png Note: live preview area on isla-sorna shows "Query execution failed" (no Prometheus reachable on test backend), but the preview area itself is visible in the captures — which satisfies the TODO. Re-capture against a backend with a working Prometheus endpoint if numeric preview values are needed for the docs. Captured at 2× zoom via Portless dev, per-locale via window.switchLanguage().
1 parent 7029f75 commit 104c776

16 files changed

Lines changed: 4 additions & 16 deletions

packages/backend.ai-webui-docs/src/en/admin_menu/admin_menu.md

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -410,10 +410,9 @@ You can delete an individual model card by clicking the delete icon next to its
410410

411411
Backend.AI lets administrators define reusable **Prometheus query presets** that auto-scaling rules and other monitoring features can reference by name. A preset bundles a metric name, a PromQL query template, an optional time window, and optional filter / group labels so operators do not have to retype the same query for every rule.
412412

413-
The presets are managed from the **Prometheus Preset** tab on the Admin Serving page (`/admin-deployments?tab=prometheus-preset`).
413+
The presets are managed from the **Prometheus Preset** tab on the Admin Deployments page (`/admin-deployments?tab=prometheus-preset`).
414414

415415
![](../images/admin_prometheus_preset_list.png)
416-
<!-- TODO: Capture screenshot of the Prometheus Query Preset list -->
417416

418417
:::note
419418
This tab is **admin-only** and is visible only when the Backend.AI Manager advertises the `prometheus-query-preset` capability. If the tab does not appear in your environment, your Manager build does not yet support this feature.
@@ -449,7 +448,6 @@ The table includes a column-settings control that lets you hide columns you do n
449448
Click **Add Preset** at the top right of the table to open the **Create Preset** modal.
450449

451450
![](../images/admin_prometheus_preset_create_modal.png)
452-
<!-- TODO: Capture screenshot of the Create Preset modal with the live preview area visible -->
453451

454452
The modal contains the following fields:
455453

@@ -471,7 +469,6 @@ Click **Create** to save the preset. On success, the preset appears in the list
471469
Click the **Edit** action in the **Name** cell of a preset row to open the **Edit Preset** modal. The modal is pre-populated with the preset's current values and exposes the same fields as the Create dialog, including the live preview area for the Query Template.
472470

473471
![](../images/admin_prometheus_preset_edit_modal.png)
474-
<!-- TODO: Capture screenshot of the Edit Preset modal with the live preview reflecting the current template -->
475472

476473
Click **Save** to apply your changes. Consumers of the preset (for example, auto-scaling rules referencing it) automatically pick up the new query template the next time they evaluate the metric.
477474

279 KB
Loading
292 KB
Loading
129 KB
Loading

packages/backend.ai-webui-docs/src/ja/admin_menu/admin_menu.md

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -390,10 +390,9 @@ models:
390390

391391
Backend.AI では、管理者が再利用可能な **Prometheus クエリプリセット** を定義でき、オートスケーリングルールなどの監視機能から名前で参照できます。1 つのプリセットには、メトリクス名、PromQL クエリテンプレート、任意の時間ウィンドウ、任意のフィルタ/グループラベルがまとめられているため、運用者が同じクエリをルールごとに入力し直す必要はありません。
392392

393-
プリセットは、管理者サービスページの **Prometheusプリセット** タブ(`/admin-deployments?tab=prometheus-preset`)から管理します。
393+
プリセットは、管理者デプロイページの **Prometheusプリセット** タブ(`/admin-deployments?tab=prometheus-preset`)から管理します。
394394

395395
![](../images/admin_prometheus_preset_list.png)
396-
<!-- TODO: Prometheus クエリプリセット一覧のスクリーンショットを取得 -->
397396

398397
:::note
399398
このタブは **管理者専用** で、Backend.AI マネージャーが `prometheus-query-preset` 機能をサポートしている場合にのみ表示されます。お使いの環境でタブが表示されない場合、マネージャービルドがまだこの機能をサポートしていません。
@@ -429,7 +428,6 @@ Backend.AI では、管理者が再利用可能な **Prometheus クエリプリ
429428
テーブル右上の **プリセットを追加** をクリックして **プリセットを作成** モーダルを開きます。
430429

431430
![](../images/admin_prometheus_preset_create_modal.png)
432-
<!-- TODO: ライブプレビュー領域が表示されたプリセット作成モーダルのスクリーンショットを取得 -->
433431

434432
モーダルには次のフィールドがあります。
435433

@@ -451,7 +449,6 @@ Backend.AI では、管理者が再利用可能な **Prometheus クエリプリ
451449
プリセット行の **名前** セルにある **編集** アクションをクリックすると、**プリセットを編集** モーダルが開きます。モーダルにはプリセットの現在の値があらかじめ入力されており、クエリテンプレートのライブプレビュー領域を含めて作成ダイアログと同じフィールドが提供されます。
452450

453451
![](../images/admin_prometheus_preset_edit_modal.png)
454-
<!-- TODO: 現在のテンプレートが反映されたライブプレビュー付きプリセット編集モーダルのスクリーンショットを取得 -->
455452

456453
**セーブ** をクリックして変更を適用します。プリセットを参照しているコンシューマー(例: オートスケーリングルール)は、次にメトリクスを評価する際に新しいクエリテンプレートを自動的に取り込みます。
457454

280 KB
Loading
294 KB
Loading
133 KB
Loading

packages/backend.ai-webui-docs/src/ko/admin_menu/admin_menu.md

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -348,10 +348,9 @@ models:
348348

349349
Backend.AI는 관리자가 재사용 가능한 **프로메테우스 쿼리 프리셋**을 정의할 수 있게 해주며, 오토 스케일링 규칙을 비롯한 모니터링 기능이 이를 이름으로 참조할 수 있습니다. 하나의 프리셋은 메트릭 이름, PromQL 쿼리 템플릿, 선택적인 시간 범위, 선택적인 필터 / 그룹 레이블을 함께 묶어 관리하므로, 운영자가 동일한 쿼리를 규칙마다 다시 입력할 필요가 없습니다.
350350

351-
이 프리셋은 관리자 서빙 페이지의 **프로메테우스 프리셋** 탭(`/admin-deployments?tab=prometheus-preset`)에서 관리합니다.
351+
이 프리셋은 관리자 배포 페이지의 **프로메테우스 프리셋** 탭(`/admin-deployments?tab=prometheus-preset`)에서 관리합니다.
352352

353353
![](../images/admin_prometheus_preset_list.png)
354-
<!-- TODO: 프로메테우스 쿼리 프리셋 목록 스크린샷 캡처 -->
355354

356355
:::note
357356
이 탭은 **관리자 전용**이며, Backend.AI 매니저가 `prometheus-query-preset` 기능을 지원한다고 알릴 때에만 표시됩니다. 사용 중인 환경에서 탭이 보이지 않는다면, 매니저 빌드가 아직 해당 기능을 지원하지 않는 것입니다.
@@ -387,7 +386,6 @@ Backend.AI는 관리자가 재사용 가능한 **프로메테우스 쿼리 프
387386
테이블 우측 상단의 **프리셋 추가** 버튼을 클릭하여 **프리셋 생성** 모달을 엽니다.
388387

389388
![](../images/admin_prometheus_preset_create_modal.png)
390-
<!-- TODO: 라이브 프리뷰 영역이 보이는 프리셋 생성 모달 스크린샷 캡처 -->
391389

392390
모달에는 다음 필드가 있습니다.
393391

@@ -409,7 +407,6 @@ Backend.AI는 관리자가 재사용 가능한 **프로메테우스 쿼리 프
409407
프리셋 행의 **이름** 셀에서 **수정** 액션을 클릭하면 **프리셋 수정** 모달이 열립니다. 모달에는 프리셋의 현재 값이 미리 채워져 있으며, 쿼리 템플릿의 라이브 프리뷰 영역을 포함하여 생성 다이얼로그와 동일한 필드가 제공됩니다.
410408

411409
![](../images/admin_prometheus_preset_edit_modal.png)
412-
<!-- TODO: 현재 템플릿이 반영된 라이브 프리뷰가 표시된 프리셋 수정 모달 스크린샷 캡처 -->
413410

414411
**저장**을 클릭하여 변경 사항을 적용합니다. 해당 프리셋을 참조하는 소비자(예: 오토 스케일링 규칙)는 다음 메트릭 평가 시 자동으로 새 쿼리 템플릿을 적용합니다.
415412

245 KB
Loading

0 commit comments

Comments
 (0)