awslimitchecker.metrics.datadog module¶
-
class
awslimitchecker.metrics.datadog.
Datadog
(region_name, prefix='awslimitchecker.', api_key=None, extra_tags=None)[source]¶ Bases:
awslimitchecker.metrics.base.MetricsProvider
Initialize the Datadog metrics provider. This class does not have any additional requirements. You must specify at least the
api_key
configuration option.Parameters: - region_name (str) – the name of the region we’re connected to. This parameter is automatically passed in by the Runner class.
- prefix (str) – Datadog metric prefix
- api_key (str) – Datadog API key. May alternatively be specified by the
DATADOG_API_KEY
environment variable. - extra_tags (str) – CSV list of additional tags to send with metrics.
All metrics will automatically be tagged with
region:<region name>
-
__init__
(region_name, prefix='awslimitchecker.', api_key=None, extra_tags=None)[source]¶ Initialize the Datadog metrics provider. This class does not have any additional requirements. You must specify at least the
api_key
configuration option.Parameters: - region_name (str) – the name of the region we’re connected to. This parameter is automatically passed in by the Runner class.
- prefix (str) – Datadog metric prefix
- api_key (str) – Datadog API key. May alternatively be specified by the
DATADOG_API_KEY
environment variable. - extra_tags (str) – CSV list of additional tags to send with metrics.
All metrics will automatically be tagged with
region:<region name>
-
__module__
= 'awslimitchecker.metrics.datadog'¶