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.
- checksums.yaml +4 -4
- data/lib/inst_statsd/statsd.rb +1 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0efc67b630508fdf4f4033fc6113c371f2a78e4d53da35f223d9d68372c91048
|
4
|
+
data.tar.gz: d5b91bac827950a60412eb014dd58061bb84f2c3a294df7025a675823e71c928
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 88be470db2532f9bb479a40ea54418d374a20f05dde343b742b1e9db7657690b9e99ce96d80234803ac6c0f0de47227094f3ba69afedd473e6b5f8c1702c926c
|
7
|
+
data.tar.gz: 90feaac27f90bcb2540838bc41ba0abdcb5134a6a845660acb044f3084ad37bbb1599ccbbadf88df4c527b39aaf9eefb6fcc2f336750dba439f9e47d2de92561
|
data/lib/inst_statsd/statsd.rb
CHANGED
@@ -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.
|
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-
|
12
|
+
date: 2019-02-27 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: dogstatsd-ruby
|