1.0.0 (2021-10-06)
Features Added
- Added
LogsQueryPartialResult
andLogsQueryError
to handle errors. - Added
status
attribute toLogsQueryResult
. - Added
LogsQueryStatus
Enum to describe the status of a result. - Added a new
LogsTableRow
type that represents a single row in a table. - Items in
metrics
list inMetricsQueryResult
can now be accessed by metric names.
Breaking Changes
LogsQueryResult
now iterates over the tables directly as a convinience.query
API in logs is renamed toquery_workspace
query
API in metrics is renamed toquery_resource
query_workspace
API now returns a union ofLogsQueryPartialResult
andLogsQueryResult
.query_batch
API now returns a union ofLogsQueryPartialResult
,LogsQueryError
andLogsQueryResult
.metric_namespace
is renamed tonamespace
and is a keyword-only argument inlist_metric_definitions
API.MetricsResult
is renamed toMetricsQueryResult
.