Updated on 2024-08-05 GMT+08:00

Can I Import Grafana Views to AOM Dashboards?

Symptom

Can I import Grafana views to AOM dashboards?

Solution

No. However, you can obtain the Prometheus statement of a Grafana view and then create a graph in AOM by using the Prometheus statement.

Procedure:

  1. Log in to Grafana and obtain the Prometheus statement of a Grafana view.
  2. Log in to the AOM 2.0 console.
  3. In the navigation pane, choose Metric Analysis > Metric Browsing.
  4. Select a target Prometheus instance from the drop-down list.
  5. Click Prometheus statement and enter the Prometheus statement obtained in 1.
  6. Select a metric and click in the upper right corner of the metric list.
  7. In the Add to Dashboard dialog box, select a dashboard, set a graph name, and click Confirm.

    Then you can view the Grafana view in AOM.