Skip to content

Commit

Permalink
[Monitor][Query] Add sample notebook for large queries (#28148)
Browse files Browse the repository at this point in the history
A sample notebook was added to demonstrate how a user can
overcome Log Analytics service limits when trying to query
large amounts of data.

Signed-off-by: Paul Van Eck <paulvaneck@microsoft.com>
  • Loading branch information
pvaneck committed Mar 24, 2023
1 parent b63bf81 commit bc99ec8
Show file tree
Hide file tree
Showing 2 changed files with 597 additions and 0 deletions.
5 changes: 5 additions & 0 deletions sdk/monitor/azure-monitor-query/samples/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,11 @@ The following code samples show common scenarios with the Azure Monitor Query cl
- [Send multiple queries with LogsQueryClient](https://github.com/Azure/azure-sdk-for-python/blob/main/sdk/monitor/azure-monitor-query/samples/sample_batch_query.py)
- [Send a single query with LogsQueryClient using server timeout](https://github.com/Azure/azure-sdk-for-python/blob/main/sdk/monitor/azure-monitor-query/samples/sample_server_timeout.py)

#### Notebook samples

- [Split a large query into multiple smaller queries to avoid hitting service limits](https://github.com/Azure/azure-sdk-for-python/blob/main/sdk/monitor/azure-monitor-query/samples/notebooks/sample_large_query.ipynb)


### Metrics query samples

- [Send a query using MetricsQueryClient](https://github.com/Azure/azure-sdk-for-python/blob/main/sdk/monitor/azure-monitor-query/samples/sample_metrics_query.py) ([async sample](https://github.com/Azure/azure-sdk-for-python/blob/main/sdk/monitor/azure-monitor-query/samples/async_samples/sample_metrics_query_async.py))
Expand Down
Loading

0 comments on commit bc99ec8

Please sign in to comment.