Skip to content

Commit 8910091

Browse files
committed
fixes
1 parent 41d1797 commit 8910091

File tree

5 files changed

+7
-7
lines changed

5 files changed

+7
-7
lines changed
Binary file not shown.

articles/azure-monitor/essentials/prometheus-api-promql.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -8,14 +8,14 @@ ms.date: 09/28/2022
88
ms.reviewer: aul
99
---
1010

11-
# Query Prometheus metrics using the API and PromQL.
11+
# Query Prometheus metrics using the API and PromQL
1212

1313
Azure Monitor managed service for Prometheus (preview), collects metrics from Azure Kubernetes Clusters and stores them in an Azure Monitor workspace. PromQL - Prometheus query language, is a functional query language that allows you to query and aggregate time series data. Use PromQL to query and aggregate metrics stored in an Azure Monitor workspace.
1414

1515
This article describes how to query an Azure Monitor workspace using PromQL via the REST API.
1616
For more information on PromQL, see [Querying prometheus](https://prometheus.io/docs/prometheus/latest/querying/basics/).
1717

18-
## Prerequisites
18+
## Prerequisites
1919
To query an Azure monitor workspace using PromQL, you need the following prerequisites:
2020
+ An Azure Kubernetes Cluster or remote Kubernetes cluster.
2121
+ Azure Monitor managed service for Prometheus (preview) scraping metrics from a Kubernetes cluster
@@ -48,13 +48,13 @@ Allow your app to query data from your Azure Monitor workspace.
4848

4949
1. Select **Add**, then **Add role assignment** from the Access Control (IAM) page.
5050

51-
:::image type="content" source="./media/prometheus-api-promql/access-control.png" lightbox="./media/prometheus-api-promql/access-control.png" alt-text="A screenshot showing the Azure Monitor workspace overview page":::
51+
:::image type="content" source="./media/prometheus-api-promql/access-control.png" lightbox="./media/prometheus-api-promql/access-control.png" alt-text="A screenshot showing the Azure Monitor workspace overview page.":::
5252

5353
1. On the **Add role Assignment page**, search for *Monitoring*.
5454

5555
1. Select **Monitoring Data Reader**, then select the Members tab.
5656

57-
:::image type="content" source="./media/prometheus-api-promql/add-role-assignment.png" lightbox="./media/prometheus-api-promql/add-role-assignment.png" alt-text="A screenshot showing the Add role assignment page":::
57+
:::image type="content" source="./media/prometheus-api-promql/add-role-assignment.png" lightbox="./media/prometheus-api-promql/add-role-assignment.png" alt-text="A screenshot showing the Add role assignment page.":::
5858

5959
1. Select **Select members**.
6060

@@ -69,7 +69,7 @@ Allow your app to query data from your Azure Monitor workspace.
6969
You've created your App registration and have assigned it access to query data from your Azure Monitor workspace. You can now generate a token and use it in a query.
7070

7171

72-
### Request a Token
72+
### Request a token
7373
Send the following request in the command prompt or by using a client like Postman.
7474

7575
```shell
@@ -97,7 +97,7 @@ Sample response body:
9797

9898
Save the access token from the response for use in the following HTTP requests.
9999

100-
## Query Endpoint
100+
## Query endpoint
101101

102102
Find your workspace's query endpoint on the Azure Monitor workspace overview page.
103103

@@ -204,7 +204,7 @@ The following limitations are in addition to those detailed in the Prometheus sp
204204

205205
For more information on Prometheus metrics limits, see [Prometheus metrics](../../azure-monitor/service-limits.md#prometheus-metrics)
206206

207-
## Next Steps
207+
## Next steps
208208

209209
[Azure Monitor workspace overview (preview)](./azure-monitor-workspace-overview.md)
210210
[Manage an Azure Monitor workspace (preview)](./azure-monitor-workspace-manage.md)

prometheus-metrics-scrape-configuration.md

Whitespace-only changes.

0 commit comments

Comments
 (0)