Skip to content

Commit

Permalink
[threadstats] do not modify metric-level tags
Browse files Browse the repository at this point in the history
Do not modify metric-level `tags` parameters when `constant_tags` is
set.
Similar to #94.
  • Loading branch information
yannmh committed Mar 1, 2016
1 parent a60d519 commit e156ed6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion datadog/threadstats/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ def event(self, title, text, alert_type=None, aggregation_key=None,
# Append all client level tags to every event
if self.constant_tags:
if tags:
tags += self.constant_tags
tags = tags + self.constant_tags
else:
tags = self.constant_tags

Expand Down

0 comments on commit e156ed6

Please sign in to comment.