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

[MetricsAdvisor] Renamed MetricAnomalyAlertConfiguration to MetricAlertConfiguration #22116

Merged
merged 8 commits into from
Jun 29, 2021

Conversation

kinelski
Copy link
Member

Renaming for cross-language consistency.

@kinelski kinelski added the Client This issue points to a problem in the data-plane of the library. label Jun 23, 2021
@kinelski kinelski requested a review from maririos June 23, 2021 21:09
@kinelski kinelski self-assigned this Jun 23, 2021
@kinelski kinelski requested a review from maririos June 23, 2021 21:16
{
public MetricAnomalyAlertConfiguration(string detectionConfigurationId, Azure.AI.MetricsAdvisor.Models.MetricAnomalyAlertScope alertScope) { }
public MetricAlertConfiguration(string detectionConfigurationId, Azure.AI.MetricsAdvisor.Models.MetricAnomalyAlertScope alertScope) { }
public Azure.AI.MetricsAdvisor.Models.MetricAnomalyAlertConditions AlertConditions { get { throw null; } set { } }
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

out of curiosity, what was the reason to drop the Anomaly from it? and why it happens to only that type and not the others like this one?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We're just aligning to what other languages are doing (.NET was the odd one out). We'll also rename MetricAnomalyAlertConditions to something else in another PR. Regarding other related models, changing them across languages is an effort with too low priority to be done in the current time frame.

@kinelski
Copy link
Member Author

/azp run net - metricsadvisor - tests

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

internal FeedbackDimensionFilter DimensionFilter => Filter.Dimension == null ? null : new FeedbackDimensionFilter(Filter.Dimension);
internal FeedbackDimensionFilter DimensionFilter => Filter?.Dimension == null ? null : new FeedbackDimensionFilter(Filter.Dimension);
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Added small fix for #22269.

@kinelski kinelski merged commit c8b7a33 into Azure:main Jun 29, 2021
@kinelski kinelski deleted the ma-renames branch June 29, 2021 14:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Client This issue points to a problem in the data-plane of the library. Cognitive - Metrics Advisor
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants