Skip to content

Commit fc5ad82

Browse files
Merge pull request #233311 from noakup/master
adding prefer header options for timeout and datasources
2 parents 711ce08 + c027de3 commit fc5ad82

File tree

1 file changed

+12
-2
lines changed

1 file changed

+12
-2
lines changed

articles/azure-monitor/logs/api/prefer-options.md

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,11 @@ ms.topic: article
88
---
99
# Prefer options
1010

11-
The API supports setting some request options using the `Prefer` header. This section describes how to set each preference and their values.
11+
The API supports setting some request and response options using the `Prefer` header. This section describes how to set each preference and their values.
1212

1313
## Visualization information
1414

15-
In the query language, you can specify different render options. By default, the API does not return information about the type of visualization. To include a specific visualization, include this header:
15+
In the query language, you can specify different render options. By default, the API doesn't return information about the type of visualization. To include a specific visualization, include this header:
1616

1717
```
1818
Prefer: include-render=true
@@ -63,3 +63,13 @@ To get information about query statistics, include this header:
6363
```
6464

6565
The header includes a `statistics` property in the response that describes various performance statistics such as query execution time and resource usage.
66+
67+
## Query timeout
68+
The default query timeout is 3 minutes. To adjust the query timeout set the `wait` property, as documented [here](timeouts.md).
69+
70+
## Query data sources
71+
To get information about the query data sources - regions, workspaces, clusters and tables, include this header:
72+
73+
```
74+
Prefer: include-dataSources=true
75+
```

0 commit comments

Comments
 (0)