Skip to content

Commit 41d1797

Browse files
committed
final2
1 parent 9c936c3 commit 41d1797

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

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

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -189,9 +189,10 @@ GET 'https://k8s02-workspace-xy98.eastus.prometheus.monitor.azure.com/api/v1/lab
189189
For the full specification of OSS prom APIs, see [Prometheus HTTP API](https://prometheus.io/docs/prometheus/latest/querying/api/#http-api )
190190

191191
## API limitations
192-
(differing from prom specification)
192+
The following limitations are in addition to those detailed in the Prometheus specification.
193+
193194
+ Query must be scoped to metric
194-
Any time series fetch queries (/series or /query or /query_range) must contain \_\_name\_\_ label matcher. That is, each query must be scoped to a metric. There can only be one \_\_name\_\_ label matcher in a query.
195+
Any time series fetch queries (/series or /query or /query_range) must contain a \_\_name\_\_ label matcher. That is, each query must be scoped to a metric. There can only be one \_\_name\_\_ label matcher in a query.
195196
+ Supported time range
196197
+ /query_range API supports a time range of 32 days. This is the maximum time range allowed including range selectors specified in the query itself.
197198
For example, the query `rate(http_requests_total[1h]` for last 24 hours would actually mean data is being queried for 25 hours. A 24 hours range + 1 hour specified in query itself.
@@ -205,7 +206,7 @@ For more information on Prometheus metrics limits, see [Prometheus metrics](../.
205206

206207
## Next Steps
207208

208-
[Azure Monitor workspace overview (preview)](./azure-monitor-workspace-overview.md)
209-
[Manage an Azure Monitor workspace (preview)](./azure-monitor-workspace-manage.md)
210-
[Overview of Azure Monitor Managed Service for Prometheus (preview)](./prometheus-metrics-overview.md)
209+
[Azure Monitor workspace overview (preview)](./azure-monitor-workspace-overview.md)
210+
[Manage an Azure Monitor workspace (preview)](./azure-monitor-workspace-manage.md)
211+
[Overview of Azure Monitor Managed Service for Prometheus (preview)](./prometheus-metrics-overview.md)
211212
[Query Prometheus metrics using Azure workbooks (preview)](./prometheus-workbooks.md)

0 commit comments

Comments
 (0)