1.0.0-beta.5 (2021-09-09)
Features Added
- Added convenience method
getMetricByName
inMetricsQueryResult
to allow users to fetch results of a particular metric - Added a flag
throwOnAnyFailure
to be set by user for methodsqueryLogs
andqueryLogsBatch
to enable error throwing - Defining
AggregateBatchError
class for throwing batch errors - Added status with potential values
("Partial" | "Success" | "Failed")
for responses ofquery
andqueryBatch
APIs to indicate whether the status of results of each query.
Breaking Changes
- Updated methods
getMetricDefinitions
andgetMetricNamespaces
to return paginated list of items and renamed tolistMetricDefinitions
andlistMetricNames
respectively - Renamed methods
queryLogs
andqueryLogsBatch
inLogsQueryClient
toquery
andqueryBatch
- Updated the constant names inside
Durations
to drop thelast
prefix - Updated method
queryBatch
to take argument ofQueryBatch
model instead ofQueryLogsBatch
model - Renamed
QueryLogsOptions
toLogsQueryOptions
- Renamed
QueryLogsBatchResult
toLogsQueryBatchResult
- Renamed
QueryMetricsResult
toMetricsQueryResult
- Renamed
QueryLogsResult
toLogsQueryResult
,QueryLogsBatchOptions
toLogsQueryBatchOptions
- Updated type for
timespan
property fromstring
toTimeInterval
type inquery
andqueryBatch
methods ofLogsQueryClient
and inMetricsQueryResult
interface - Renamed
MetricColumn
toLogsColumn
andcolumn
tocolumnDescriptors
inLogsTable
model - Renamed
displayDescription
property todescription
inMetric
andMetricNames
- Flattened the
metricNamespaceName
property forMetricNamespace
- Renamed
innererror
toinnerError
inErrorInfo