1.0.0-beta.4 (2021-06-07)
New Features
- Added
DatasourceCredential
CRUD operations to theMetricsAdvisorAdministrationClient
. This API provides new ways of authenticating to aDataFeedSource
. - Added property
Authentication
to data sourcesAzureBlobDataFeedSource
,AzureDataExplorerDataFeedSource
,AzureDataLakeStorageGen2DataFeedSource
, andSqlServerDataFeedSource
to specify the authentication type to use. - Added property
DatasourceCredentialId
to data sourcesAzureDataExplorerDataFeedSource
,AzureDataLakeStorageGen2DataFeedSource
, andSqlServerDataFeedSource
to specify the datasource credential to use for authentication. - Added properties
Value
andExpectedValue
toDataPointAnomaly
to provide more information about the anomalous data point. - Added properties
ValueOfRootNode
andExpectedValueOfRootNode
toAnomalyIncident
to provide more information about the anomalous data point at the root node of the indicent. - Response headers that were marked as
REDACTED
in error messages and logs are now exposed by default. GetDetectionConfigurations
andGetAlertConfigurations
in theMetricsAdvisorAdministrationClient
can now take a set of options withSkip
andMaxPageSize
properties to configure paging behavior.- Added setters to models that use the Update APIs to make updating easier.
- Added property
DataFeedId
toDataPointAnomaly
andAnomalyIncident
. - Added two new data feed sources:
AzureEventHubsDataFeedSource
andLogAnalyticsDataFeedSource
.
Breaking Changes
- Update methods will now return the updated entity instead of an empty response. For example,
UpdateDataFeed
now returns aResponse<DataFeed>
. NotificationHook.ExternalLink
andWebNotificationHook.Endpoint
are now of typeUri
.- Removed setter from
GetIncidentsForDetectionConfigurationOptions.DimensionsToFilter
. Elements can be added directly to it without user instantiation. - Renamed all
SkipCount
listing options toSkip
. Affected classes includeGetAlertsOptions
,GetDataFeedsOptions
,GetHooksOptions
, and others. - Renamed all
TopCount
listing options toMaxPageSize
. Affected classes includeGetAlertsOptions
,GetDataFeedsOptions
,GetHooksOptions
, and others. - Removed data feed sources
ElasticsearchDataFeedSource
andHttpRequestDataFeedSource
as they are not supported by the service anymore. A different type of data feed source must be used for data ingestion instead. - Removed getters for secrets in data feed sources, such as
AzureBlobDataFeedSource.ConnectionString
andInfluxDbDataFeedSource.Password
. - Removed granularity type
DataFeedGranularityType.PerSecond
as it's not supported by the service anymore. - Renamed method
GetDimensionValues
toGetMetricDimensionValues
inMetricsAdvisorClient
. The associated options typeGetDimensionValuesOptions
has been renamed as well. - Renamed method
GetValuesOfDimensionWithAnomalies
toGetAnomalyDimensionValues
inMetricsAdvisorClient
. The associated options typeGetValuesOfDimensionWithAnomaliesOptions
has been renamed as well. - In
MetricsAdvisorAdministrationClient
, Update operations such asUpdateDataFeed
don't take the ID as a method parameter anymore. You now need to pass an instance that has been returned from another CRUD operation and has itsId
property populated. - In
AnomalyIncident
, renamedDimensionKey
toRootDimensionKey
. - In
DataFeed
, renamedAdministrators
toAdministratorsEmails
,Creator
toCreatorEmail
, andViewers
toViewersEmails
. - In
DataFeedDimension
, renamedDimensionName
toName
, andDimensionDisplayName
toDisplayName
. - In
DataFeedMetric
, renamedMetricId
toId
,MetricName
toName
,MetricDisplayName
toDisplayName
, andMetricDescription
toDescription
. - In
DataFeedAutoRollupMethod
, renamedRollupMethod
toAutoRollupMethod
. - In
IncidentRootCause
, renamedDimensionKey
toSeriesKey
, andScore
toContributionScore
. - In
MetricBoundaryCondition
, renamedTriggerForMissing
toShouldAlertIfDataPointMissing
. - In
MetricEnrichedSeriesData
, renamedValues
toMetricValues
,ExpectedValues
toExpectedMetricValues
,LowerBoundaries
toLowerBoundaryValues
, andUpperBoundaries
toUpperBoundaryValues
. - In
MetricSeriesData
, renamedValues
toMetricValues
. - In
NotificationHook
, renamedAdministrators
toAdministratorsEmails
.