1.0.0b4 (2021-09-09)
Features Added
- Added additional
display_description
attribute to theMetric
type. - Added a
MetricClass
enum to provide the class of a metric. - Added a
metric_class
attribute to theMetricDefinition
type. - Added a
MetricNamespaceClassification
enum to support thenamespace_classification
attribute onMetricNamespace
type. - Added a
MetricUnit
enum to describe the unit of the metric.
Breaking Changes
- Rename
batch_query
toquery_batch
. - Rename
LogsBatchQueryRequest
toLogsBatchQuery
. include_render
is now renamed toinclude_visualization
in the query API.LogsQueryResult
now returnsvisualization
instead ofrender
.start_time
,duration
andend_time
are now replaced with a single param calledtimespan
resourceregion
is renamed toresource_region
in the MetricResult type.top
is renamed tomax_results
in the metric'squery
API.metric_namespace_name
is renamed tofully_qualified_namespace
is_dimension_required
is renamed todimension_required
interval
andtime_grain
are renamed togranularity
orderby
is renamed toorder_by
LogsQueryResult
now returnsdatetime
objects for a time values.LogsBatchQuery
doesn't accept arequest_id
anymore.MetricsMetadataValues
is removed. A dictionary is used instead.time_stamp
is renamed totimestamp
inMetricValue
type.AggregationType
is renamed toMetricAggregationType
.- Removed
LogsBatchResultError
type. LogsQueryResultTable
is named toLogsTable
LogsTableColumn
is now removed. Column labels are strings instead.start_time
inlist_metric_namespaces
API is now a datetime.- The order of params in
LogsBatchQuery
is changed. Also,headers
is no longer accepted. timespan
is now a required keyword-only argument in logs APIs.- batch api now returns a list of
LogsQueryResult
objects.
Bugs Fixed
include_statistics
andinclude_visualization
args can now work together.