Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
31 commits
Select commit Hold shift + click to select a range
2c97206
generated code and latest swagger
KarishmaGhiya Jun 15, 2021
85c0413
granularity per second
KarishmaGhiya Jun 15, 2021
341b858
update the response types for update methods
KarishmaGhiya Jun 16, 2021
7a4d5ae
update internal tests
KarishmaGhiya Jun 16, 2021
cf437ec
update tests and samples for update methods
KarishmaGhiya Jun 16, 2021
eb7a3bc
regenerate samples
KarishmaGhiya Jun 16, 2021
48aff6c
update api review
KarishmaGhiya Jun 16, 2021
b106ec7
getmetricenrichedseriesdata and getmetricseriesdata parameter renamed…
KarishmaGhiya Jun 16, 2021
62b6116
update samples
KarishmaGhiya Jun 16, 2021
661d465
update detection operator type name
KarishmaGhiya Jun 16, 2021
2ac26ce
rename dimensionsToSplitAlert
KarishmaGhiya Jun 16, 2021
a0f7210
remove eslint error
KarishmaGhiya Jun 17, 2021
240c9f7
remove eslint comments
KarishmaGhiya Jun 17, 2021
9f91d76
rename datasource to dataSource
KarishmaGhiya Jun 17, 2021
5c2e473
update datasource credential
KarishmaGhiya Jun 18, 2021
7bfe89a
Rename
jeremymeng Jun 18, 2021
68fcd93
publish updated samples
jeremymeng Jun 18, 2021
ce0aab4
Rename
jeremymeng Jun 18, 2021
bded2a6
Rename
jeremymeng Jun 18, 2021
325eff2
Rename
jeremymeng Jun 18, 2021
59f65a3
Fix readme code
jeremymeng Jun 18, 2021
68fd4c7
Rename DataFeed to MetricsAdvisorDataFeed
jeremymeng Jun 18, 2021
13dbd56
split the 2 overloads of listAnomalies into 2 separate functions
KarishmaGhiya Jun 18, 2021
b0278d0
Merge branch 'tttt' into metric-advisor-GA-swagger
jeremymeng Jun 18, 2021
d1723df
listIncidents overloads separated to 2 separate methods
KarishmaGhiya Jun 18, 2021
6a6a7d4
Merge branch 'tttt' into metric-advisor-GA-swagger
jeremymeng Jun 18, 2021
52ced76
Merge pull request #3 from jeremymeng/metric-advisor-GA-swagger
KarishmaGhiya Jun 18, 2021
acbcc90
add doc refs to generated code
KarishmaGhiya Jun 21, 2021
ded9d96
api values for undocumented refs
KarishmaGhiya Jun 21, 2021
2b32c89
revised updated samples
KarishmaGhiya Jun 22, 2021
825a3f4
node recordings for eventhub tests
KarishmaGhiya Jun 24, 2021
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
16 changes: 8 additions & 8 deletions sdk/metricsadvisor/ai-metrics-advisor/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -113,33 +113,33 @@ const adminClient = new MetricsAdvisorAdministrationClient("<endpoint>", credent

`MetricsAdvisorAdministrationClient` is the interface responsible for managing entities in the Metrics Advisor resources, such as managing data feeds, anomaly detection configurations, anomaly alerting configurations.

### DataFeed
### Data Feed

A `DataFeed` is what Metrics Advisor ingests from your data source, such as Cosmos DB or a SQL server. A data feed contains rows of:
A data feed is what Metrics Advisor ingests from your data source, such as Cosmos DB or a SQL server. A data feed contains rows of:

- timestamps
- zero or more dimensions
- one or more measures

### Metric

A `Metric` is a quantifiable measure that is used to monitor and assess the status of a specific business process. It can be a combination of multiple time series values divided into dimensions. For example a web health metric might contain dimensions for user count and the en-us market.
A metric is a quantifiable measure that is used to monitor and assess the status of a specific business process. It can be a combination of multiple time series values divided into dimensions. For example a web health metric might contain dimensions for user count and the en-us market.

### AnomalyDetectionConfiguration

`AnomalyDetectionConfiguration` is required for every time series, and determines whether a point in the time series is an anomaly.

### Anomaly & Incident

After a detection configuration is applied to metrics, `Incident`s are generated whenever any series within it has an `Anomaly`.
After a detection configuration is applied to metrics, `AnomalyIncident`s are generated whenever any series within it has an `DataPointAnomaly`.

### Alert

You can configure which anomalies should trigger an `Alert`. You can set multiple alerts with different settings. For example, you could create an alert for anomalies with lower business impact, and another for more important alerts.
You can configure which anomalies should trigger an `AnomalyAlert`. You can set multiple alerts with different settings. For example, you could create an alert for anomalies with lower business impact, and another for more important alerts.

### Hook

Metrics Advisor lets you create and subscribe to real-time alerts. These alerts are sent over the internet, using a `Hook`.
Metrics Advisor lets you create and subscribe to real-time alerts. These alerts are sent over the internet, using a notification hook.

Please refer to [the Metrics Advisory Glossary][metrics_advisor_glossary] documentation page for a comprehensive list of concepts.

Expand Down Expand Up @@ -462,10 +462,10 @@ async function queryAnomaliesByAlert(client, alert) {
console.log(
`Listing anomalies for alert configuration '${alert.alertConfigId}' and alert '${alert.id}'`
);
const iterator = client.listAnomalies(alert);
const iterator = client.listAnomaliesForAlert(alert);
for await (const anomaly of iterator) {
console.log(
` Anomaly ${anomaly.severity} ${anomaly.status} ${anomaly.seriesKey.dimension} ${anomaly.timestamp}`
` Anomaly ${anomaly.severity} ${anomaly.status} ${anomaly.seriesKey} ${anomaly.timestamp}`
);
}
}
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading