Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[monitor query] Adding links to the documentation. #36741

Merged
merged 1 commit into from
Sep 13, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 6 additions & 4 deletions sdk/monitor/azure-monitor-query/src/samples/java/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,12 +41,12 @@ This workaround allows you to avoid the cost of exporting data to a storage acco

**Disclaimer:** This approach of splitting data retrieval into smaller queries is useful when dealing with a few GBs of data or a few million records per hour. For larger data sets, [exporting][logs_data_export] is recommended.

We've provided a sample that demonstrates how to split a large query into a batch query based on the number of rows. The sample can be found here.
We've also provided a sample that demonstrates how to split a large query into a batch query based on the size of the data returned. The sample can be found here.
We've provided a sample that demonstrates how to split a large query into a batch query based on the number of rows. The sample can be found [here][split_query_by_rows].
We've also provided a sample that demonstrates how to split a large query into a batch query based on the size of the data returned. The sample can be found [here][split_query_by_bytes].

These sample shows how to partition a large query into smaller queries using the `LogsBatchQuery` class. The partitioning is based on the timestamp "TimeGenerated".
These samples show how to partition a large query into smaller queries using the `LogsBatchQuery` class. The partitioning is based on the timestamp "TimeGenerated".

This sample is suitable for simple data retrieval queries that utilize a subset of KQL operators. The subset of supported KQL operators can be found [here][kql_language_subset].
These samples are suitable for simple data retrieval queries that utilize a subset of KQL operators. The subset of supported KQL operators can be found [here][kql_language_subset].

## Troubleshooting

Expand Down Expand Up @@ -75,3 +75,5 @@ Guidelines][SDK_README_CONTRIBUTING] for more information.
[monitor_service_limits]: https://learn.microsoft.com/azure/azure-monitor/service-limits#la-query-api
[logs_data_export]: https://learn.microsoft.com/azure/azure-monitor/logs/logs-data-export?tabs=portal
[kql_language_subset]: https://learn.microsoft.com/azure/azure-monitor/logs/basic-logs-query?tabs=portal-1#kql-language-limits
[split_query_by_rows]: https://github.com/Azure/azure-sdk-for-java/blob/main/sdk/monitor/azure-monitor-query/src/samples/java/com/azure/monitor/query/SplitQueryByRowCountSample.java
[split_query_by_bytes]: https://github.com/Azure/azure-sdk-for-java/blob/main/sdk/monitor/azure-monitor-query/src/samples/java/com/azure/monitor/query/SplitQueryByByteSizeSample.java
Loading