Skip to content

Commit 2bc6545

Browse files
committed
expose datadog tags.
1 parent f0edb66 commit 2bc6545

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

Gemfile.lock

+2-2
Original file line numberDiff line numberDiff line change
@@ -17,12 +17,12 @@ GEM
1717
coderay (1.1.0)
1818
colored (1.2)
1919
diff-lcs (1.2.5)
20-
docker-api (1.25.0)
20+
docker-api (1.32.1)
2121
excon (>= 0.38.0)
2222
json
2323
dogstatsd-ruby (2.1.0)
2424
dotenv (2.1.0)
25-
excon (0.45.4)
25+
excon (0.54.0)
2626
i18n (0.7.0)
2727
json (1.8.3)
2828
method_source (0.8.2)

lib/kafka/datadog.rb

+4
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,10 @@ def self.namespace=(namespace)
4343
statsd.namespace = namespace
4444
end
4545

46+
def self.tags=(tags)
47+
statsd.tags = tags
48+
end
49+
4650
class StatsdSubscriber < ActiveSupport::Subscriber
4751
private
4852

0 commit comments

Comments
 (0)