rails-healthcheck 1.1.4 → 1.1.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +15 -2
- data/lib/healthcheck/version.rb +1 -1
- 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: 22fb393936d02fef7c715773678079e8bd55dda200a2691b09c6ef1e5bd8d16e
|
4
|
+
data.tar.gz: 4922a32a61ab5099aeedd14087a5b76567a34b41acec65a79b7dd7cde093ecb9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3f0967885d9c1f473ba3c0aedc951430f766f76da7e74da2cdb5301801f62fd52c631a1bb2d4cac6d009a41d2c1fe15a5cc22c582b1edeb5c4543b9c83d7c445
|
7
|
+
data.tar.gz: 513bb01b1d0c3dc472fd96d935eeb70bd26ffec2295a001ed2737228a04d0c0b9c7753eb3737d9eba18b5352cee737dee273dc7b0e7bf309abd0244538d4190f
|
data/README.md
CHANGED
@@ -14,6 +14,7 @@ A simple way to configure a healthcheck route in Rails applications
|
|
14
14
|
- [Verbose Errors](#verbose-errors)
|
15
15
|
- [Ignoring logs](#ignoring-logs)
|
16
16
|
- [Lograge](#lograge)
|
17
|
+
- [Datadog](#lograge)
|
17
18
|
- [Requests Examples](#requests-examples)
|
18
19
|
- [Contributing](#contributing)
|
19
20
|
- [License](#license)
|
@@ -80,9 +81,9 @@ When happen an error and verbose is enabled (`config.verbose = true`), the respo
|
|
80
81
|
|
81
82
|
## Ignoring logs
|
82
83
|
|
83
|
-
|
84
|
+
If you want to ignore Healthcheck request logs, you can use these options:
|
84
85
|
|
85
|
-
|
86
|
+
### [Lograge](https://github.com/roidrage/lograge)
|
86
87
|
|
87
88
|
```ruby
|
88
89
|
# config/environments/production.rb
|
@@ -93,6 +94,18 @@ Rails.application.configure do
|
|
93
94
|
end
|
94
95
|
```
|
95
96
|
|
97
|
+
### [Datadog](https://github.com/roidrage/lograge)
|
98
|
+
|
99
|
+
```ruby
|
100
|
+
# config/environments/production.rb
|
101
|
+
|
102
|
+
filter = Datadog::Pipeline::SpanFilter.new do |span|
|
103
|
+
span.name == 'rack.request' && span.get_tag('http.url') == Healthcheck.configuration.route
|
104
|
+
end
|
105
|
+
|
106
|
+
Datadog::Pipeline.before_flush(filter)
|
107
|
+
```
|
108
|
+
|
96
109
|
### Requests Examples
|
97
110
|
|
98
111
|
- Success
|
data/lib/healthcheck/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rails-healthcheck
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.1.
|
4
|
+
version: 1.1.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- linqueta
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-03-
|
11
|
+
date: 2020-03-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|