1.0.0-beta.2 (2020-11-10)
- [Breaking] Combine
listAnomaliesForDetectionConfiguration()
andlistAnomaliesForAlert()
into overloads oflistAnomalies()
- [Breaking] Combine
listIncidentsForDetectionConfiguration()
andlistIncidentsForAlert()
into overloads oflistIncidents()
listAnomalies()
andlistIncidents()
on detection configures now also take strings of date formats forstartTime
andendTime
parameters.- [Breaking] Fix typo:
lastOccuredTime
is nowlastOccurredTime
. - [Breaking] Feedback property
dimensionFilter
is renamed todimensionKey
. - [Breaking]
DataFeed.metricIds
array is removed as GUIDs alone are not very useful. - [Breaking]
DataFeedOptions
propertydataFeedDescription
is renamed todescription
. - [Breaking] rename types whose name are too generic:
Alert
is renamed toAnomalyAlert
.Anomaly
is renamed toDataPointAnomaly
Incident
is renamed toAnomalyIncident
.Metric
is renamed toDataFeedMetric
.Dimension
is renamed toDataFeedDimension
.*Hook*
is renamed to*NotificationHook*
.
- [Breaking]
DataFeed
propertiesadmins
is renamed toadminEmails
andviewers
is renamed toviewerEmails
. - [Breaking]
IncidentRootCause
propertydimensionKey
is renamed toseriesKey
.AnomalyIncident.dimensionKey
is renamed torootDimensionKey
- [Breaking] The
-List
suffix is removed from Array properties inMetricSeriesData
andMetricsEnrichedSeriesData
. Plural form is used instead. - [Breaking]
*PageResponse
types now extends fromArray<ItemType>
instead of wrapping an array ofItemType
. Their types names are also shortened. - [Breaking] Rename method for listing alerts
listAlertsForAlertConfiguration(alertConfigId, startTime, endTime, timemode, options)
tolistAlerts(alertConfigId, startTime, endTime, timemode, options)
- [Breaking] Rename feedback methods :
listMetricFeedbacks()
tolistFeedback()
getMetricFeedback()
togetFeedback()
createMetricFeedback()
tocreateFeedback()
- [Breaking] Rename detection configuration methods:
createMetricAnomalyDetectionConfiguration(anomalyConfig)
tocreateDetectionConfig(anomalyConfig)
getMetricAnomalyDetectionConfiguration(detectionConfigId)
togetDetectionConfig(detectionConfigId)
createMetricAnomalyDetectionConfiguration(config)
tocreateDetectionConfig(config)
updateMetricAnomalyDetectionConfiguration(configId, patch)
toupdateDetectionConfig(configId, patch)
deleteMetricAnomalyDetectionConfiguration(detectionConfigId)
todeleteDetectionConfig(detectionConfigId)
listMetricAnomalyDetectionConfigurations(metricId)
tolistDetectionConfigs(metricId)
- [Breaking] Rename anomaly alert configuration methods:
createAnomalyAlertConfiguration(anomalyAlertConfig)
tocreateAlertConfig(anomalyAlertConfig)
updateAnomalyAlertConfiguration(alertConfigId, patch)
toupdateAlertConfig(alertConfigId, patch)
deleteAnomalyAlertConfiguration(alertConfigId)
todeleteAlertConfig(alertConfigId)
listAnomalyAlertConfigurations(detectdionConfigId)
tolistAlertConfigs(detectdionConfigId)
- [Breaking] Data feed ingestion granularity now has
"PerMinute"
and"PerSecond"
instead of"Minutely"
and"Secondly"
. - [Breaking] Change the type of following timestamp properties from
Date
tonumber
AnomalyAlert.timestamp
DataPointAnomaly.timestamp
EnrichmentStatus.timestamp
IngestionStatus.timestamp
latestSuccessTimestamp
andlatestActiveTimestamp
in the return type ofgetDataFeedIngestionProgress()
.
- [Breaking] property
createdTime
onDataFeed
andMetricFeedbackCommon
tocreatedOn
. - [Breaking] Remove the wrapping data feed
options
property fromDataFeed
andDataFeedPatch
and flatten its child properties. - Parameters of
Date
type now also accept strings. No validation is done for the strings. The SDK callsnew Date()
to convert them toDate
. - Handle potential new data feed source types gracefully