-
Notifications
You must be signed in to change notification settings - Fork 4.8k
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
[Metrics Advisor] Add remaining docstrings #15792
[Metrics Advisor] Add remaining docstrings #15792
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Left some minor nit comments.
sdk/metricsadvisor/Azure.AI.MetricsAdvisor/src/Models/DataFeed/DataFeedAccessMode.cs
Outdated
Show resolved
Hide resolved
sdk/metricsadvisor/Azure.AI.MetricsAdvisor/src/Models/DataFeed/DataFeedAutoRollupMethod.cs
Outdated
Show resolved
Hide resolved
sdk/metricsadvisor/Azure.AI.MetricsAdvisor/src/Models/DataFeed/DataFeedIngestionSettings.cs
Outdated
Show resolved
Hide resolved
...csadvisor/Azure.AI.MetricsAdvisor/src/Models/DataFeed/GetDataFeedIngestionStatusesOptions.cs
Outdated
Show resolved
Hide resolved
sdk/metricsadvisor/Azure.AI.MetricsAdvisor/src/MetricsAdvisorAdministrationClient.cs
Outdated
Show resolved
Hide resolved
sdk/metricsadvisor/Azure.AI.MetricsAdvisor/src/MetricsAdvisorClient.cs
Outdated
Show resolved
Hide resolved
/// <summary> | ||
/// Gets data about the data points present in the specified set of time series. | ||
/// <see cref="MetricAnomalyAlertConfiguration"/>. | ||
/// </summary> | ||
/// <param name="seriesKeys">The name of the dimension.</param> | ||
/// <param name="detectionConfigurationId">The unique identifier of the <see cref="MetricAnomalyAlertConfiguration"/>.</param> | ||
/// <param name="startTime">Filters the result. Only data points ingested after this point in time, in UTC, will be returned.</param> | ||
/// <param name="endTime">Filters the result. Only data points ingested after this point in time, in UTC, will be returned.</param> | ||
/// <param name="cancellationToken">A <see cref="CancellationToken"/> controlling the request lifetime.</param> | ||
/// <returns>A collection containing the values the specified dimension assumed for anomalous data points. Items are unique.</returns> | ||
/// <exception cref="ArgumentNullException"><paramref name="seriesKeys"/> or <paramref name="detectionConfigurationId"/> is null.</exception> | ||
/// <exception cref="ArgumentException"><paramref name="seriesKeys"/> or <paramref name="detectionConfigurationId"/> is empty; or <paramref name="detectionConfigurationId"/> is not a valid GUID.</exception> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This description is very inaccurate. I think you copied it by accident from one the methods marked with TODODOCS (probably GetMetricEnrichedSeriesDataAsync).
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not sure how I missed this, thanks.
sdk/metricsadvisor/Azure.AI.MetricsAdvisor/src/Models/AnomalyAlert/TopNGroupScope.cs
Outdated
Show resolved
Hide resolved
...tricsadvisor/Azure.AI.MetricsAdvisor/src/Models/AnomalyDetection/ChangeThresholdCondition.cs
Outdated
Show resolved
Hide resolved
...tricsadvisor/Azure.AI.MetricsAdvisor/src/Models/AnomalyDetection/ChangeThresholdCondition.cs
Outdated
Show resolved
Hide resolved
/// <summary> | ||
/// Gets the automatic suggestions for likely root causes of an incident. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
what does automatic suggestions means? what will be a "manual" suggestion?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I guess all suggestions are automatic :)
sdk/metricsadvisor/Azure.AI.MetricsAdvisor/src/MetricsAdvisorClient.cs
Outdated
Show resolved
Hide resolved
sdk/metricsadvisor/Azure.AI.MetricsAdvisor/src/Models/DataFeed/DataFeedAccessMode.cs
Show resolved
Hide resolved
sdk/metricsadvisor/Azure.AI.MetricsAdvisor/src/Models/DataFeed/DataFeedIngestionSettings.cs
Outdated
Show resolved
Hide resolved
sdk/metricsadvisor/Azure.AI.MetricsAdvisor/src/Models/DataFeed/DataFeedOptions.cs
Outdated
Show resolved
Hide resolved
sdk/metricsadvisor/Azure.AI.MetricsAdvisor/src/Models/DataFeed/DataFeedOptions.cs
Outdated
Show resolved
Hide resolved
for all the TODODOCS that had questions about the service behavior, where the questions answered? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. Left some nit picky comments.
sdk/metricsadvisor/Azure.AI.MetricsAdvisor/src/MetricsAdvisorClient.cs
Outdated
Show resolved
Hide resolved
sdk/metricsadvisor/Azure.AI.MetricsAdvisor/src/MetricsAdvisorClient.cs
Outdated
Show resolved
Hide resolved
sdk/metricsadvisor/Azure.AI.MetricsAdvisor/src/MetricsAdvisorClient.cs
Outdated
Show resolved
Hide resolved
sdk/metricsadvisor/Azure.AI.MetricsAdvisor/src/MetricsAdvisorClient.cs
Outdated
Show resolved
Hide resolved
Hello @christothes! Because this pull request has the p.s. you can customize the way I help with merging this pull request, such as holding this pull request until a specific person approves. Simply @mention me (
|
Suggested edits Co-authored-by: kinelski <camaiaor@microsoft.com>
Co-authored-by: Mariana Rios Flores <mariari@microsoft.com>
97c6c71
to
a5cd64f
Compare
No description provided.