inst_statsd 2.1.2 → 2.1.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/inst_statsd/statsd.rb +1 -0
  3. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: e4a37b143fb7348450535523a0a5f6d8f5b1817b26a71f65accd0f44f2b6c020
4
- data.tar.gz: 4ec4d4b5b82305d3d6604fc4a1824b07ede89fb2da5d52f444f28dc4eb483f91
3
+ metadata.gz: 0efc67b630508fdf4f4033fc6113c371f2a78e4d53da35f223d9d68372c91048
4
+ data.tar.gz: d5b91bac827950a60412eb014dd58061bb84f2c3a294df7025a675823e71c928
5
5
  SHA512:
6
- metadata.gz: 0b5fd970e6f6424c4065bf6baaf64bcd77d1d5211f2f8c6a990377f2534f9272e28a293279a58f726e40c95df2918c61fbda43dc260a7db93f610d021b2d190c
7
- data.tar.gz: 93448febe5f6cb62d05fad68978dbe597503b0724f65f3f48618a6ca74808860c19a5fc11d8d823d788b6fc870257517b770463c0b2ac7470fe398d6fc926960
6
+ metadata.gz: 88be470db2532f9bb479a40ea54418d374a20f05dde343b742b1e9db7657690b9e99ce96d80234803ac6c0f0de47227094f3ba69afedd473e6b5f8c1702c926c
7
+ data.tar.gz: 90feaac27f90bcb2540838bc41ba0abdcb5134a6a845660acb044f3084ad37bbb1599ccbbadf88df4c527b39aaf9eefb6fcc2f336750dba439f9e47d2de92561
@@ -113,6 +113,7 @@ module InstStatsd
113
113
  port = statsd_settings[:port] || 8125
114
114
  require 'datadog/statsd'
115
115
  @statsd = ::Datadog::Statsd.new(host, port)
116
+ @statsd.namespace = statsd_settings[:namespace] if statsd_settings[:namespace]
116
117
  self.dog_tags.replace(statsd_settings[:dog_tags] || {})
117
118
  @append_hostname = !statsd_settings.key?(:append_hostname) || !!statsd_settings[:append_hostname]
118
119
  elsif statsd_settings && statsd_settings[:host]
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: inst_statsd
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.1.2
4
+ version: 2.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nick Cloward
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2019-02-21 00:00:00.000000000 Z
12
+ date: 2019-02-27 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: dogstatsd-ruby