puma-plugin-statsd 1.0.0 → 1.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/README.md +4 -3
- data/lib/puma/plugin/statsd.rb +1 -1
- metadata +7 -7
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0b3cd5c0412cc60e11ea2d99dbf080b9ffe81054b8a4d8c8bfa2c7279d8e921b
|
4
|
+
data.tar.gz: 7d9345141eab89e4c2b0b6a0ed66fecabaaa1fea80e039d050593cbba42bd695
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 86bb26d1b1af5b213380b4e7be6ec51f5fb216175304d3d78f36010afd4bfd3b7c37aaed877d84277ef88c9f504792f408ec6d287a0d8a06671154398965231f
|
7
|
+
data.tar.gz: 2b8b0b0d0b1d4902b0ef7114b19adb8f31dd1206dc9185248f3008edb074f118976f56554f5b34689c43f3b12ef069ec2c5a773c9a50b1b16e84bffc4e00b3e3
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,9 @@
|
|
1
1
|
# CHANGELOG
|
2
2
|
|
3
|
+
## 1.1.0 2021-01-03
|
4
|
+
|
5
|
+
* Assume localhost for statsd host (PR #[20](https://github.com/yob/puma-plugin-statsd/pull/20))
|
6
|
+
|
3
7
|
## 1.0.0 2020-11-03
|
4
8
|
|
5
9
|
* Added option to specify arbitrary datadog tags (PR #[18](https://github.com/yob/puma-plugin-statsd/pull/18))
|
data/README.md
CHANGED
@@ -37,12 +37,14 @@ plugin :statsd
|
|
37
37
|
|
38
38
|
## Usage
|
39
39
|
|
40
|
-
|
40
|
+
By default the plugin assumes statsd is available at 127.0.0.1. If that's true in your environment, just start puma like normal:
|
41
41
|
|
42
42
|
```
|
43
|
-
|
43
|
+
bundle exec puma
|
44
44
|
```
|
45
45
|
|
46
|
+
If statsd isn't on 127.0.0.1 or the port is non-standard, you can configure them using optional environment variables:
|
47
|
+
|
46
48
|
```
|
47
49
|
STATSD_HOST=127.0.0.1 STATSD_PORT=9125 bundle exec puma
|
48
50
|
```
|
@@ -55,7 +57,6 @@ the datadog "dogstatsd" server.
|
|
55
57
|
Should you be reporting the puma metrics to a dogstatsd server, you can set
|
56
58
|
tags via the following three environment variables.
|
57
59
|
|
58
|
-
|
59
60
|
#### DD_TAGS
|
60
61
|
|
61
62
|
`DD_TAGS`: Set this to a space-separated list of tags, using the
|
data/lib/puma/plugin/statsd.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: puma-plugin-statsd
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.1.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- James Healy
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2021-01-03 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: puma
|
@@ -114,7 +114,7 @@ dependencies:
|
|
114
114
|
- - ">="
|
115
115
|
- !ruby/object:Gem::Version
|
116
116
|
version: '0'
|
117
|
-
description:
|
117
|
+
description:
|
118
118
|
email: james@yob.id.au
|
119
119
|
executables: []
|
120
120
|
extensions: []
|
@@ -128,7 +128,7 @@ homepage: https://github.com/yob/puma-plugin-statsd
|
|
128
128
|
licenses:
|
129
129
|
- MIT
|
130
130
|
metadata: {}
|
131
|
-
post_install_message:
|
131
|
+
post_install_message:
|
132
132
|
rdoc_options: []
|
133
133
|
require_paths:
|
134
134
|
- lib
|
@@ -143,8 +143,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
143
143
|
- !ruby/object:Gem::Version
|
144
144
|
version: '0'
|
145
145
|
requirements: []
|
146
|
-
rubygems_version: 3.
|
147
|
-
signing_key:
|
146
|
+
rubygems_version: 3.2.3
|
147
|
+
signing_key:
|
148
148
|
specification_version: 4
|
149
149
|
summary: Send puma metrics to statsd via a background thread
|
150
150
|
test_files: []
|