-
Notifications
You must be signed in to change notification settings - Fork 5.2k
Readme and xmlk docs for Azure.Monitor.Query #20731
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
Changes from 7 commits
33ae638
3a96faa
c792909
09a63df
dc090bc
b556c32
a2175b5
57bcbd4
cb59368
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -2,12 +2,25 @@ | |
| // Licensed under the MIT License. | ||
|
|
||
| using System; | ||
| using Azure.Monitor.Query.Models; | ||
|
|
||
| namespace Azure.Monitor.Query | ||
| { | ||
| /// <summary> | ||
| /// Options for <see cref="LogsClient.QueryAsync"/> that allow specifying the service timeout or whether to include | ||
| /// the query execution statistics. | ||
|
pakrym marked this conversation as resolved.
Outdated
|
||
| /// </summary> | ||
| public class LogsQueryOptions | ||
| { | ||
| /// <summary> | ||
| /// Gets or sets the value indicating the service timeout for the query. Defaults to <c>null</c>. | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Should we say what the default is rather than the default value of the type? For example,
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. That's an interesting question. I was trying to avoid presuming what service does as it might change with the service version.
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. How would someone know what to set this to?
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Their query would fail. No matter whether we give them a default value or not they need to see their query timing out to start setting this value. |
||
| /// </summary> | ||
| public TimeSpan? Timeout { get; set; } | ||
|
|
||
| /// <summary> | ||
| /// Gets or sets the value indicating whether to include query execution statistics as part of the response. | ||
| /// Statistics can be retrieved via the <see cref="LogsQueryResult.Statistics"/> property. | ||
|
pakrym marked this conversation as resolved.
|
||
| /// </summary> | ||
| public bool IncludeStatistics { get; set; } | ||
| } | ||
| } | ||
Uh oh!
There was an error while loading. Please reload this page.