rails-healthcheck 1.1.0 → 1.1.1
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 -0
- data/lib/healthcheck/version.rb +1 -1
- data/lib/healthcheck.rb +2 -0
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 90d8e05e3632eea15ad496a96cad8ab62120f22bfa1b2b9e5d0d58965fc6015b
|
4
|
+
data.tar.gz: baa0baa4729818b03ec644ffbfcf1f5b41741458422c6a1c4baff96cef6dca95
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: bc248fa637568e69c70389b6d74ae9d1a88608781f9b5b31488355a836cf9549aaec03e5d258cde1c61a44c0d1bb2ca61df019540b60b35276c5d2979059ff78
|
7
|
+
data.tar.gz: 6e23c81ce1702ddbd4ba205de93194c19384e06c7ca92ff69b1fbc964b2abf2b8af007e96b2f53d757dc77d17dad28030bff31532edc04ad2a179de4b958c258
|
data/README.md
CHANGED
@@ -125,6 +125,21 @@ Transfer-Encoding: chunked
|
|
125
125
|
{"code":503,"errors":[{"name":"zero_division","exception":"ZeroDivisionError","message":"divided by 0"}]}
|
126
126
|
```
|
127
127
|
|
128
|
+
## Ignoring logs
|
129
|
+
|
130
|
+
### Lograge
|
131
|
+
|
132
|
+
If you are using [Lograge](https://github.com/roidrage/lograge) you can ignore Healthcheck logs using this code:
|
133
|
+
|
134
|
+
```ruby
|
135
|
+
# config/environments/production.rb
|
136
|
+
|
137
|
+
Rails.application.configure do
|
138
|
+
config.lograge.enabled = true
|
139
|
+
config.lograge.ignore_actions = [Healthcheck::CONTROLLER_ACTION]
|
140
|
+
end
|
141
|
+
```
|
142
|
+
|
128
143
|
## Contributing
|
129
144
|
|
130
145
|
1. Fork it
|
data/lib/healthcheck/version.rb
CHANGED
data/lib/healthcheck.rb
CHANGED