You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/managed-grafana/how-to-bundled-prometheus.md
+8-9Lines changed: 8 additions & 9 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -38,7 +38,7 @@ Complete the following steps to connect your Grafana workspace to an Azure Monit
38
38
39
39
1. Open your Azure Managed Grafana workspace and in the left menu select **Integrations** > **Bundled Prometheus**.
40
40
41
-
:::image type="content" source="media/bundled-prometheus/select-monitor-workspace.png" alt-text="Screenshot of the Azure platform showing the bundled Prometheus integration pane in Azure Managed Grafana.":::
41
+
:::image type="content" source="media/bundled-prometheus/select-monitor-workspace.png" alt-text="Screenshot of the Azure platform showing the bundled Prometheus integration pane in Azure Managed Grafana.":::
42
42
43
43
1. In the dropdown menu, select an Azure Monitor workspace, then select **Save**. During enablement, the Grafana-managed recording rules feature is enabled. Azure also automatically creates two role assignments if they don't already exist:
44
44
@@ -50,21 +50,20 @@ Complete the following steps to connect your Grafana workspace to an Azure Monit
50
50
51
51
## Set up Grafana-managed recording rules
52
52
53
-
> [!Note]
54
-
> Bundled Prometheus only supports Grafana-managed recording rules, which you configure directly in the Grafana interface. Data source-managed recording rules aren't supported.
55
-
56
53
When you enabled bundled Prometheus in the previous step, Azure added a new Prometheus data source called *bundled-azure-prometheus* to Grafana.
57
54
58
-
:::image type="content" source="media/bundled-prometheus/bundled-azure-prometheus-data-source.png" alt-text="Screenshot of Grafana platform showing the bundled-azure-prometheus data source.":::
55
+
Create a new recording rule from the Grafana UI following the steps below. For detailed configuration options see, [Create Grafana-managed recording rules](https://grafana.com/docs/grafana/latest/alerting/alerting-rules/create-recording-rules/create-grafana-managed-recording-rules).
56
+
57
+
> [!NOTE]
58
+
> Bundled Prometheus only supports Grafana-managed recording rules, which you configure directly in the Grafana interface. Data source-managed recording rules aren't supported.
59
59
60
-
Create a new recording rule from the Grafana UI following the steps below. For detailed configuration options see, [Create Grafana-managed recording rules](https://grafana.com/docs/grafana/latest/alerting/alerting-rules/create-recording-rules/create-grafana-managed-recording-rules)
61
60
62
61
1. Go to **Alerting** > **Alert rules** and select **New recording rule**.
63
62
:::image type="content" source="media/bundled-prometheus/new-recording-rule.png" alt-text="Screenshot of the Alert rules page in Grafana with the New recording rule button highlighted.":::
64
63
65
64
1. Enter a name for the recording rule and a metric name.
66
65
1. Define the rule for the bundled-azure-prometheus data source.
67
-
:::image type="content" source="media/bundled-prometheus/define-recording-rule.png" alt-text="Screenshot of configuring recording rule settings with query and labels." lightbox="media/grafana-settings/grafana-settings-tab.png"::::::
66
+
:::image type="content" source="media/bundled-prometheus/define-recording-rule.png" alt-text="Screenshot of configuring recording rule settings with query and labels." lightbox="media/grafana-settings/grafana-settings-tab.png":::
68
67
69
68
1. Set an evaluation behavior and optionally add labels.
70
69
:::image type="content" source="media/bundled-prometheus/set-evaluation-behaviors-labels.png" alt-text="Screenshot of the recording rule configuration form with evaluation settings.":::
@@ -78,12 +77,12 @@ After you set up the recording rules, you can visualize the recorded Prometheus
78
77
79
78
1. In the Grafana UI, go to **Metrics** and select the bundled-azure-prometheus data source to view the recorded data.
80
79
81
-
:::image type="content" source="media/bundled-prometheus/view-metrics.png" alt-text="Screenshot of selecting the bundled-azure-prometheus data source in Grafana Metrics." lightbox="media/bundled-prometheus/view-metrics.png":::::::::
80
+
:::image type="content" source="media/bundled-prometheus/view-metrics.png" alt-text="Screenshot of selecting the bundled-azure-prometheus data source in Grafana Metrics." lightbox="media/bundled-prometheus/view-metrics.png":::
82
81
83
82
1. You can now add these recorded metrics to a Grafana dashboard. For detailed steps on creating visualizations with Prometheus data, see [Display Prometheus data in Grafana](./how-to-connect-azure-monitor-workspace.md#display-prometheus-data-in-grafana). For more information about editing a dashboard, refer to [Edit a dashboard panel](./how-to-create-dashboard.md#edit-a-dashboard-panel).
84
83
85
84
> [!TIP]
86
-
> If you don't see Prometheus data in your dashboard, check if your Azure Monitor workspace is collecting Prometheus data. For troubleshooting, see [Troubleshoot collection of Prometheus metrics in Azure Monitor](../azure/azure-monitor/containers/prometheus-metrics-troubleshoot).
85
+
> If you don't see Prometheus data in your dashboard, check if your Azure Monitor workspace is collecting Prometheus data. For troubleshooting, see [Troubleshoot collection of Prometheus metrics in Azure Monitor](/azure/azure-monitor/containers/prometheus-metrics-troubleshoot).
0 commit comments