github Azure/azure-sdk-for-python azure-monitor-query_1.0.0b4

latest releases: azure-ai-evaluation_1.0.1, azure-ai-projects_1.0.0b1, azure-mgmt-hybridcompute_9.1.0b1...
pre-release3 years ago

1.0.0b4 (2021-09-09)

Features Added

  • Added additional display_description attribute to the Metric type.
  • Added a MetricClass enum to provide the class of a metric.
  • Added a metric_class attribute to the MetricDefinition type.
  • Added a MetricNamespaceClassification enum to support the namespace_classification attribute on MetricNamespace type.
  • Added a MetricUnit enum to describe the unit of the metric.

Breaking Changes

  • Rename batch_query to query_batch.
  • Rename LogsBatchQueryRequest to LogsBatchQuery.
  • include_render is now renamed to include_visualization in the query API.
  • LogsQueryResult now returns visualization instead of render.
  • start_time, duration and end_time are now replaced with a single param called timespan
  • resourceregion is renamed to resource_region in the MetricResult type.
  • top is renamed to max_results in the metric's query API.
  • metric_namespace_name is renamed to fully_qualified_namespace
  • is_dimension_required is renamed to dimension_required
  • interval and time_grain are renamed to granularity
  • orderby is renamed to order_by
  • LogsQueryResult now returns datetime objects for a time values.
  • LogsBatchQuery doesn't accept a request_id anymore.
  • MetricsMetadataValues is removed. A dictionary is used instead.
  • time_stamp is renamed to timestamp in MetricValue type.
  • AggregationType is renamed to MetricAggregationType.
  • Removed LogsBatchResultError type.
  • LogsQueryResultTable is named to LogsTable
  • LogsTableColumn is now removed. Column labels are strings instead.
  • start_time in list_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 and include_visualization args can now work together.

Don't miss a new azure-sdk-for-python release

NewReleases is sending notifications on new releases.