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
# Azure Monitor Query client library for Python - version 1.1.0
11
+
# Azure Monitor Query client library for Python - version 1.1.1
12
12
13
13
14
14
The Azure Monitor Query client library is used to execute read-only queries against [Azure Monitor][azure_monitor_overview]'s two data platforms:
@@ -198,7 +198,7 @@ for table in response:
198
198
df = pd.DataFrame(table.rows, columns=[col.name for col in table.columns])
199
199
```
200
200
201
-
A full sample can be found [here](https://github.com/Azure/azure-sdk-for-python/blob/azure-monitor-query_1.1.0/sdk/monitor/azure-monitor-query/samples/sample_logs_single_query.py).
201
+
A full sample can be found [here](https://github.com/Azure/azure-sdk-for-python/blob/azure-monitor-query_1.1.1/sdk/monitor/azure-monitor-query/samples/sample_logs_single_query.py).
202
202
203
203
In a similar fashion, to handle a batch logs query response:
204
204
@@ -210,7 +210,7 @@ for result in response:
210
210
print(df)
211
211
```
212
212
213
-
A full sample can be found [here](https://github.com/Azure/azure-sdk-for-python/blob/azure-monitor-query_1.1.0/sdk/monitor/azure-monitor-query/samples/sample_batch_query.py).
213
+
A full sample can be found [here](https://github.com/Azure/azure-sdk-for-python/blob/azure-monitor-query_1.1.1/sdk/monitor/azure-monitor-query/samples/sample_batch_query.py).
214
214
215
215
### Batch logs query
216
216
@@ -308,7 +308,7 @@ client.query_workspace(
308
308
)
309
309
```
310
310
311
-
A full sample can be found [here](https://github.com/Azure/azure-sdk-for-python/blob/azure-monitor-query_1.1.0/sdk/monitor/azure-monitor-query/samples/sample_log_query_multiple_workspaces.py).
311
+
A full sample can be found [here](https://github.com/Azure/azure-sdk-for-python/blob/azure-monitor-query_1.1.1/sdk/monitor/azure-monitor-query/samples/sample_log_query_multiple_workspaces.py).
312
312
313
313
#### Include statistics
314
314
@@ -510,18 +510,18 @@ The following code samples show common scenarios with the Azure Monitor Query cl
510
510
511
511
#### Logs query samples
512
512
513
-
-[Send a single query with LogsQueryClient and handle the response as a table](https://github.com/Azure/azure-sdk-for-python/blob/azure-monitor-query_1.1.0/sdk/monitor/azure-monitor-query/samples/sample_logs_single_query.py) ([async sample](https://github.com/Azure/azure-sdk-for-python/blob/azure-monitor-query_1.1.0/sdk/monitor/azure-monitor-query/samples/async_samples/sample_log_query_async.py))
514
-
-[Send a single query with LogsQueryClient and handle the response in key-value form](https://github.com/Azure/azure-sdk-for-python/blob/azure-monitor-query_1.1.0/sdk/monitor/azure-monitor-query/samples/sample_logs_query_key_value_form.py)
515
-
-[Send a single query with LogsQueryClient without pandas](https://github.com/Azure/azure-sdk-for-python/blob/azure-monitor-query_1.1.0/sdk/monitor/azure-monitor-query/samples/sample_single_log_query_without_pandas.py)
516
-
-[Send a single query with LogsQueryClient across multiple workspaces](https://github.com/Azure/azure-sdk-for-python/blob/azure-monitor-query_1.1.0/sdk/monitor/azure-monitor-query/samples/sample_log_query_multiple_workspaces.py)
517
-
-[Send multiple queries with LogsQueryClient](https://github.com/Azure/azure-sdk-for-python/blob/azure-monitor-query_1.1.0/sdk/monitor/azure-monitor-query/samples/sample_batch_query.py)
518
-
-[Send a single query with LogsQueryClient using server timeout](https://github.com/Azure/azure-sdk-for-python/blob/azure-monitor-query_1.1.0/sdk/monitor/azure-monitor-query/samples/sample_server_timeout.py)
513
+
-[Send a single query with LogsQueryClient and handle the response as a table](https://github.com/Azure/azure-sdk-for-python/blob/azure-monitor-query_1.1.1/sdk/monitor/azure-monitor-query/samples/sample_logs_single_query.py) ([async sample](https://github.com/Azure/azure-sdk-for-python/blob/azure-monitor-query_1.1.1/sdk/monitor/azure-monitor-query/samples/async_samples/sample_log_query_async.py))
514
+
-[Send a single query with LogsQueryClient and handle the response in key-value form](https://github.com/Azure/azure-sdk-for-python/blob/azure-monitor-query_1.1.1/sdk/monitor/azure-monitor-query/samples/sample_logs_query_key_value_form.py)
515
+
-[Send a single query with LogsQueryClient without pandas](https://github.com/Azure/azure-sdk-for-python/blob/azure-monitor-query_1.1.1/sdk/monitor/azure-monitor-query/samples/sample_single_log_query_without_pandas.py)
516
+
-[Send a single query with LogsQueryClient across multiple workspaces](https://github.com/Azure/azure-sdk-for-python/blob/azure-monitor-query_1.1.1/sdk/monitor/azure-monitor-query/samples/sample_log_query_multiple_workspaces.py)
517
+
-[Send multiple queries with LogsQueryClient](https://github.com/Azure/azure-sdk-for-python/blob/azure-monitor-query_1.1.1/sdk/monitor/azure-monitor-query/samples/sample_batch_query.py)
518
+
-[Send a single query with LogsQueryClient using server timeout](https://github.com/Azure/azure-sdk-for-python/blob/azure-monitor-query_1.1.1/sdk/monitor/azure-monitor-query/samples/sample_server_timeout.py)
519
519
520
520
#### Metrics query samples
521
521
522
-
-[Send a query using MetricsQueryClient](https://github.com/Azure/azure-sdk-for-python/blob/azure-monitor-query_1.1.0/sdk/monitor/azure-monitor-query/samples/sample_metrics_query.py) ([async sample](https://github.com/Azure/azure-sdk-for-python/blob/azure-monitor-query_1.1.0/sdk/monitor/azure-monitor-query/samples/async_samples/sample_metrics_query_async.py))
523
-
-[Get a list of metric namespaces](https://github.com/Azure/azure-sdk-for-python/blob/azure-monitor-query_1.1.0/sdk/monitor/azure-monitor-query/samples/sample_metric_namespaces.py) ([async sample](https://github.com/Azure/azure-sdk-for-python/blob/azure-monitor-query_1.1.0/sdk/monitor/azure-monitor-query/samples/async_samples/sample_metric_namespaces_async.py))
524
-
-[Get a list of metric definitions](https://github.com/Azure/azure-sdk-for-python/blob/azure-monitor-query_1.1.0/sdk/monitor/azure-monitor-query/samples/sample_metric_definitions.py) ([async sample](https://github.com/Azure/azure-sdk-for-python/blob/azure-monitor-query_1.1.0/sdk/monitor/azure-monitor-query/samples/async_samples/sample_metric_definitions_async.py))
522
+
-[Send a query using MetricsQueryClient](https://github.com/Azure/azure-sdk-for-python/blob/azure-monitor-query_1.1.1/sdk/monitor/azure-monitor-query/samples/sample_metrics_query.py) ([async sample](https://github.com/Azure/azure-sdk-for-python/blob/azure-monitor-query_1.1.1/sdk/monitor/azure-monitor-query/samples/async_samples/sample_metrics_query_async.py))
523
+
-[Get a list of metric namespaces](https://github.com/Azure/azure-sdk-for-python/blob/azure-monitor-query_1.1.1/sdk/monitor/azure-monitor-query/samples/sample_metric_namespaces.py) ([async sample](https://github.com/Azure/azure-sdk-for-python/blob/azure-monitor-query_1.1.1/sdk/monitor/azure-monitor-query/samples/async_samples/sample_metric_namespaces_async.py))
524
+
-[Get a list of metric definitions](https://github.com/Azure/azure-sdk-for-python/blob/azure-monitor-query_1.1.1/sdk/monitor/azure-monitor-query/samples/sample_metric_definitions.py) ([async sample](https://github.com/Azure/azure-sdk-for-python/blob/azure-monitor-query_1.1.1/sdk/monitor/azure-monitor-query/samples/async_samples/sample_metric_definitions_async.py))
525
525
526
526
## Contributing
527
527
@@ -538,14 +538,14 @@ This project has adopted the [Microsoft Open Source Code of Conduct][code_of_con
0 commit comments