Chuyển tới nội dung chính

Giám sát workspace

Theo dõi metric của các dịch vụ trong workspace trên dashboard giám sát. Kết nối workspace với Monitoring Workspace, rồi import template dashboard.

Điều kiện cần​

  • Quyền xem tab Monitoring của workspace. Nếu không có quyền này, tab hiển thị "You do not have sufficient permissions to view this page!".
  • Template dashboard của service bạn muốn giám sát. Xem Tải template dashboard.

Kết nối workspace với hệ thống giám sát​

  1. Chọn Data platform → Workspace management, rồi chọn workspace.
  2. Chọn tab Monitoring.
  3. Kiểm tra thông tin Monitoring Workspace trong bảng.
  4. Ở cột Action, chọn Integrate.

Portal kết nối workspace với Monitoring Workspace.

Tab Monitoring của workspace với bảng Monitoring Workspace, datasource ở trạng thái Active và Integrated status là Enabled

CộtMô tả
IDID của Monitoring Workspace.
Workspace nameTên của Monitoring Workspace.
URLĐường dẫn tới dashboard giám sát.
Datasource typeLoại datasource, Metric.
Datasource statusActivating, Active, Active Failed, Inactive hoặc Deactivate Failed.
Integrated statusEnabled hoặc Disabled.
ActionIntegrate kết nối workspace. Sau khi kết nối, nút này đổi thành Disconnect.

Workspace đã kết nối hiển thị Active ở Datasource status, Enabled ở Integrated status và Disconnect ở cột Action.

ghi chú

Sau khi bạn chọn Disconnect, workspace ngừng gửi dữ liệu giám sát tới Monitoring Workspace.

Mở dashboard giám sát​

Mở dashboard sau khi đã kết nối workspace.

  1. Chọn Data platform → Workspace management, rồi chọn workspace.
  2. Chọn tab Monitoring.
  3. Chọn đường dẫn ở cột URL.

Dashboard giám sát mở ra trong một tab mới của trình duyệt.

Tải template dashboard​

Mỗi service có một template dashboard riêng, là một file JSON. Tải template của từng service bạn muốn giám sát.

ServiceTemplate
Orchestration (Airflow)airflow-dashboard.json
CDC Servicecdc-dashboard.json
Flinkflink-dashboard.json
Query Engine (Trino)trino-dashboard.json

Import template dashboard​

Import template để có dashboard cho các dịch vụ của workspace. Thực hiện các bước sau trên dashboard giám sát.

  1. Ở menu bên trái, chọn Dashboards.
  2. Chọn New → New folder.
  3. Nhập tên folder, ví dụ Workspace Monitoring, rồi chọn Create.
  4. Mở folder vừa tạo, rồi chọn New → Import.
  5. Trên màn hình Import Dashboard, chọn Upload JSON file, rồi chọn file template bạn đã tải về. Bạn cũng có thể kéo thả file vào màn hình.
  6. Chọn Load.
  7. Kiểm tra Name, UID và Folder của dashboard.
  8. Chọn Import.

Dashboard được tạo và hiển thị metric của service. Dùng các danh sách ở đầu dashboard, như Workspace, để chọn dữ liệu cần xem.

Bước tiếp theo​