Freigeben über


Metrics Class

Metrics include aggregated transaction statistics and capacity data about requests to a storage service. Transactions are reported at both the API operation level as well as at the storage service level, and capacity is reported at the storage service level. Metrics data can be used to analyze storage service usage, diagnose issues with requests made against the storage service, and to improve the performance of applications that use a service.

For more information, see https://msdn.microsoft.com/en-us/library/azure/hh343258.aspx

Inheritance
builtins.object
Metrics

Constructor

Metrics(enabled=False, include_apis=None, retention_policy=None)

Parameters

Name Description
enabled

Indicates whether metrics are enabled for the service.

Default value: False
include_apis

Required if enabled is True. Indicates whether metrics should generate summary statistics for called API operations.

Default value: None
retention_policy

The retention policy for the metrics.

Default value: None