vitals_monitor 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +7 -0
- data/.rspec +3 -0
- data/.rubocop.yml +13 -0
- data/CHANGELOG.md +5 -0
- data/CODE_OF_CONDUCT.md +84 -0
- data/Gemfile +14 -0
- data/Gemfile.lock +273 -0
- data/LICENSE.txt +21 -0
- data/README.md +181 -0
- data/Rakefile +15 -0
- data/app/controllers/vitals_monitor/vitals_controller.rb +95 -0
- data/app/views/vitals_monitor/vitals/index.html.erb +85 -0
- data/app/views/vitals_monitor/vitals/show.html.erb +68 -0
- data/config/initializers/vitals_monitor.rb +12 -0
- data/config/routes.rb +6 -0
- data/lib/tasks/vitals_monitor.rake +93 -0
- data/lib/vitals_monitor/checks/base.rb +33 -0
- data/lib/vitals_monitor/checks/postgres.rb +17 -0
- data/lib/vitals_monitor/checks/redis.rb +31 -0
- data/lib/vitals_monitor/checks/sidekiq.rb +24 -0
- data/lib/vitals_monitor/configuration.rb +27 -0
- data/lib/vitals_monitor/engine.rb +14 -0
- data/lib/vitals_monitor/formatters/json.rb +27 -0
- data/lib/vitals_monitor/version.rb +5 -0
- data/lib/vitals_monitor.rb +27 -0
- data/sig/vitals_monitor.rbs +52 -0
- data/vitals_monitor.gemspec +40 -0
- metadata +131 -0
metadata
ADDED
|
@@ -0,0 +1,131 @@
|
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
|
2
|
+
name: vitals_monitor
|
|
3
|
+
version: !ruby/object:Gem::Version
|
|
4
|
+
version: 0.1.0
|
|
5
|
+
platform: ruby
|
|
6
|
+
authors:
|
|
7
|
+
- Tomáš Landovský
|
|
8
|
+
autorequire:
|
|
9
|
+
bindir: bin
|
|
10
|
+
cert_chain: []
|
|
11
|
+
date: 2025-12-01 00:00:00.000000000 Z
|
|
12
|
+
dependencies:
|
|
13
|
+
- !ruby/object:Gem::Dependency
|
|
14
|
+
name: rails
|
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
|
16
|
+
requirements:
|
|
17
|
+
- - ">="
|
|
18
|
+
- !ruby/object:Gem::Version
|
|
19
|
+
version: '5.2'
|
|
20
|
+
type: :runtime
|
|
21
|
+
prerelease: false
|
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
23
|
+
requirements:
|
|
24
|
+
- - ">="
|
|
25
|
+
- !ruby/object:Gem::Version
|
|
26
|
+
version: '5.2'
|
|
27
|
+
- !ruby/object:Gem::Dependency
|
|
28
|
+
name: pg
|
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
|
30
|
+
requirements:
|
|
31
|
+
- - "~>"
|
|
32
|
+
- !ruby/object:Gem::Version
|
|
33
|
+
version: '1.0'
|
|
34
|
+
type: :development
|
|
35
|
+
prerelease: false
|
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
37
|
+
requirements:
|
|
38
|
+
- - "~>"
|
|
39
|
+
- !ruby/object:Gem::Version
|
|
40
|
+
version: '1.0'
|
|
41
|
+
- !ruby/object:Gem::Dependency
|
|
42
|
+
name: redis
|
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
|
44
|
+
requirements:
|
|
45
|
+
- - "~>"
|
|
46
|
+
- !ruby/object:Gem::Version
|
|
47
|
+
version: '4.0'
|
|
48
|
+
type: :development
|
|
49
|
+
prerelease: false
|
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
51
|
+
requirements:
|
|
52
|
+
- - "~>"
|
|
53
|
+
- !ruby/object:Gem::Version
|
|
54
|
+
version: '4.0'
|
|
55
|
+
- !ruby/object:Gem::Dependency
|
|
56
|
+
name: sidekiq
|
|
57
|
+
requirement: !ruby/object:Gem::Requirement
|
|
58
|
+
requirements:
|
|
59
|
+
- - "~>"
|
|
60
|
+
- !ruby/object:Gem::Version
|
|
61
|
+
version: '6.0'
|
|
62
|
+
type: :development
|
|
63
|
+
prerelease: false
|
|
64
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
65
|
+
requirements:
|
|
66
|
+
- - "~>"
|
|
67
|
+
- !ruby/object:Gem::Version
|
|
68
|
+
version: '6.0'
|
|
69
|
+
description: VitalsMonitor is a Rails engine that provides /vitals endpoints to monitor
|
|
70
|
+
the health status of Postgres, Redis, and Sidekiq. Components can be enabled/disabled
|
|
71
|
+
via configuration, and endpoints return HTML or JSON with appropriate HTTP status
|
|
72
|
+
codes for monitoring.
|
|
73
|
+
email:
|
|
74
|
+
- landovsky@gmail.com
|
|
75
|
+
executables: []
|
|
76
|
+
extensions: []
|
|
77
|
+
extra_rdoc_files: []
|
|
78
|
+
files:
|
|
79
|
+
- ".rspec"
|
|
80
|
+
- ".rubocop.yml"
|
|
81
|
+
- CHANGELOG.md
|
|
82
|
+
- CODE_OF_CONDUCT.md
|
|
83
|
+
- Gemfile
|
|
84
|
+
- Gemfile.lock
|
|
85
|
+
- LICENSE.txt
|
|
86
|
+
- README.md
|
|
87
|
+
- Rakefile
|
|
88
|
+
- app/controllers/vitals_monitor/vitals_controller.rb
|
|
89
|
+
- app/views/vitals_monitor/vitals/index.html.erb
|
|
90
|
+
- app/views/vitals_monitor/vitals/show.html.erb
|
|
91
|
+
- config/initializers/vitals_monitor.rb
|
|
92
|
+
- config/routes.rb
|
|
93
|
+
- lib/tasks/vitals_monitor.rake
|
|
94
|
+
- lib/vitals_monitor.rb
|
|
95
|
+
- lib/vitals_monitor/checks/base.rb
|
|
96
|
+
- lib/vitals_monitor/checks/postgres.rb
|
|
97
|
+
- lib/vitals_monitor/checks/redis.rb
|
|
98
|
+
- lib/vitals_monitor/checks/sidekiq.rb
|
|
99
|
+
- lib/vitals_monitor/configuration.rb
|
|
100
|
+
- lib/vitals_monitor/engine.rb
|
|
101
|
+
- lib/vitals_monitor/formatters/json.rb
|
|
102
|
+
- lib/vitals_monitor/version.rb
|
|
103
|
+
- sig/vitals_monitor.rbs
|
|
104
|
+
- vitals_monitor.gemspec
|
|
105
|
+
homepage: https://github.com/landovsky/vitals_monitor
|
|
106
|
+
licenses:
|
|
107
|
+
- MIT
|
|
108
|
+
metadata:
|
|
109
|
+
homepage_uri: https://github.com/landovsky/vitals_monitor
|
|
110
|
+
source_code_uri: https://github.com/landovsky/vitals_monitor
|
|
111
|
+
changelog_uri: https://github.com/landovsky/vitals_monitor/blob/main/CHANGELOG.md
|
|
112
|
+
post_install_message:
|
|
113
|
+
rdoc_options: []
|
|
114
|
+
require_paths:
|
|
115
|
+
- lib
|
|
116
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
|
117
|
+
requirements:
|
|
118
|
+
- - ">="
|
|
119
|
+
- !ruby/object:Gem::Version
|
|
120
|
+
version: 2.6.0
|
|
121
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
122
|
+
requirements:
|
|
123
|
+
- - ">="
|
|
124
|
+
- !ruby/object:Gem::Version
|
|
125
|
+
version: '0'
|
|
126
|
+
requirements: []
|
|
127
|
+
rubygems_version: 3.4.10
|
|
128
|
+
signing_key:
|
|
129
|
+
specification_version: 4
|
|
130
|
+
summary: Rails engine providing health check endpoints for Postgres, Redis, and Sidekiq
|
|
131
|
+
test_files: []
|