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

Metrics updates #15125

Merged
merged 12 commits into from
May 18, 2021
Merged

Conversation

KarishmaGhiya
Copy link
Member

@KarishmaGhiya KarishmaGhiya commented May 3, 2021

  • Alert config -> value filter : add value type (value & mean)-> add a parameter : split by dim
    • add type to each of the three the boundary condition union types
    • add splitAlertByDimensions?: string[]; to AnomalyAlertConfiguration
    • update transformations
    • update tests
  • Anomaly | incident result -> add value and expected value
    • Look at generated IncidentProperty and AnomalyProperty, ensure we have new properties in our model types (flattened): DataPointAnomaly and AnomalyIncident
  • Update autorest
  • Exposing dataFeedId in DataPointAnomaly and AnomalyIncident.

@KarishmaGhiya KarishmaGhiya linked an issue May 4, 2021 that may be closed by this pull request
9 tasks
/**
* value of the anomaly
*/
value?: number;
Copy link
Member

Choose a reason for hiding this comment

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

should value and expectedValue be readonly? Do they always have values (non-optional)?

Copy link
Member Author

Choose a reason for hiding this comment

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

On the generated layer these are optional and readonly. Anu has asked on the service channel to clarify if they can have null values. Maybe we can wait till then.

/**
* data used to implement value filter
*/
type?: "Value" | "Mean";
Copy link
Member

Choose a reason for hiding this comment

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

is this optional or non-optional?

Copy link
Member Author

@KarishmaGhiya KarishmaGhiya May 4, 2021

Choose a reason for hiding this comment

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

On the generated layer these are optional.

Copy link
Member

Choose a reason for hiding this comment

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

what type is this? Hard to guess its meaning. Please ask service team about it.

/**
* dimensions used to split alert
*/
splitAlertByDimensions?: string[];
Copy link
Member

Choose a reason for hiding this comment

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

dimensionsToSplitAlerts better?

Copy link
Member Author

Choose a reason for hiding this comment

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

Will follow up on this after discussing with crew. Otherwise we'll make this change for JS only

@KarishmaGhiya KarishmaGhiya merged commit e7f3538 into Azure:master May 18, 2021
openapi-sdkautomation bot pushed a commit to AzureSDKAutomation/azure-sdk-for-js that referenced this pull request Jul 8, 2021
Fixing operation name (Azure#15125)

* Fixed operation name.

* Fixed readme.

* Fixed titles.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[MetricsAdvisor] Updates for GA
2 participants