Skip to content

Commit

Permalink
change variable name
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewqian2001datadog committed Aug 22, 2024
1 parent d1d594f commit 22c6f48
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions datadog/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ def initialize(
api_host=None, # type: Optional[str]
statsd_host=None, # type: Optional[str]
statsd_port=None, # type: Optional[int]
statsd_disable_aggregator=True, # type: bool
statsd_disable_aggregation=True, # type: bool
statsd_disable_buffering=True, # type: bool
statsd_aggregation_flush_interval=0.3, # type: float
statsd_use_default_route=False, # type: bool
Expand Down Expand Up @@ -78,9 +78,9 @@ def initialize(
(default: True).
:type statsd_disable_buffering: boolean
:param statsd_disable_aggregator: Enable/disable statsd client aggregation support
:param statsd_disable_aggregation: Enable/disable statsd client aggregation support
(default: True).
:type statsd_disable_aggregator: boolean
:type statsd_disable_aggregation: boolean
:param statsd_aggregation_flush_interval: If aggregation is enabled, set the flush interval for
aggregation/buffering
Expand Down Expand Up @@ -139,7 +139,7 @@ def initialize(
if statsd_constant_tags:
statsd.constant_tags += statsd_constant_tags

if statsd_disable_aggregator:
if statsd_disable_aggregation:
statsd.disable_aggregation()
else:
statsd.enable_aggregation(statsd_aggregation_flush_interval)
Expand Down

0 comments on commit 22c6f48

Please sign in to comment.