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

Update changelog #7

Merged
merged 1 commit into from
Jun 2, 2021
Merged
Show file tree
Hide file tree
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
11 changes: 9 additions & 2 deletions sdk/metricsadvisor/azure-ai-metricsadvisor/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,18 @@
## 1.0.0-beta.4 (Unreleased)

### Features added
- Added support for Azure Log Analytics DataFeed source.
- Added support for Azure Log Analytics DataFeed source
- Added data source credential API support to client
- Added authentication type support for data feed
- Added property `splitAlertByDimensions` to AnomalyAlertConfiguration model

### Breaking changes
- Replaced updateSubscriptionKey and updateApiKey into one method updateKey
- Deprecated support for HttpRequestDataFeed and ElasticsearchDataFeed source type
- Renamed `value` and `expectedValue` to `valueOfRootNode` and `expectedValueOfRootNode`
- Renamed `top` parameter to `maxPageSize`

- Removed granularity type DataFeedGranularityType.PerSecond as it's not supported by the service anymore.

## 1.0.0-beta.3 (2021-02-09)
- Support Azure Active Directory (AAD) authentication for Metrics Advisor clients.
- Renamed method `listDimensionValuesWithAnomalies` and `ListDimensionValuesWithAnomaliesOptions`.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@ public final class AnomalyIncident {
private AnomalyIncidentStatus status;
private OffsetDateTime startTime;
private OffsetDateTime lastTime;
private Double value;
private Double expectedValue;
private Double valueOfRootNode;
private Double expectedValueOfRootNode;

static {
IncidentHelper.setAccessor(new IncidentHelper.IncidentAccessor() {
Expand Down Expand Up @@ -53,12 +53,12 @@ public void setRootDimensionKey(AnomalyIncident incident, DimensionKey rootDimen

@Override
public void setValue(AnomalyIncident incident, Double value) {
incident.setValue(value);
incident.setValueOfRootNode(value);
}

@Override
public void setExpectedValue(AnomalyIncident incident, Double value) {
incident.setExpectedValue(value);
incident.setExpectedValueOfRootNode(value);
}

@Override
Expand Down Expand Up @@ -136,17 +136,17 @@ public DimensionKey getRootDimensionKey() {
*
* @return The value.
*/
public Double getValue() {
return this.value;
public Double getValueOfRootNode() {
return this.valueOfRootNode;
}

/**
* Gets the expected aggregated value at root dimension node had there is no incident.
*
* @return The expected value.
*/
public Double getExpectedValue() {
return this.expectedValue;
public Double getExpectedValueOfRootNode() {
return this.expectedValueOfRootNode;
}

/**
Expand Down Expand Up @@ -205,12 +205,12 @@ void setRootDimensionKey(DimensionKey rootDimensionKey) {
this.rootDimensionKey = rootDimensionKey;
}

void setValue(Double value) {
this.value = value;
void setValueOfRootNode(Double valueOfRootNode) {
this.valueOfRootNode = valueOfRootNode;
}

void setExpectedValue(Double value) {
this.expectedValue = value;
void setExpectedValueOfRootNode(Double value) {
this.expectedValueOfRootNode = value;
}

void setSeverity(AnomalySeverity severity) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
exports com.azure.ai.metricsadvisor.administration;

opens com.azure.ai.metricsadvisor.implementation to com.fasterxml.jackson.databind;
opens com.azure.ai.metricsadvisor.administration.models to com.fasterxml.jackson.databind;
opens com.azure.ai.metricsadvisor.models to com.fasterxml.jackson.databind;
opens com.azure.ai.metricsadvisor.implementation.models to com.fasterxml.jackson.databind, com.azure.core;
}