cronitor 4.1.1 → 4.1.2
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 +4 -4
- data/README.md +6 -7
- data/lib/cronitor.rb +2 -1
- data/lib/cronitor/monitor.rb +1 -1
- data/lib/cronitor/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: 33e095f9fcce446c592729b13d8de07592c2549bdb4b4f19c5c4a09fe6024415
|
|
4
|
+
data.tar.gz: f3d808e0588b6ac2e03dd4b0b79d41320b37f004f4c8858008076a307acfab84
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 87bb2ea79e7d93ca390296964de090e08f7b010e65aa1626154bd7677c131ab01e896065cacece5701374aacfebc9d7e2823186302245a3dd3d45d1f0069db5d
|
|
7
|
+
data.tar.gz: 035fa6604dbc17370f36d8b4833c2aa0938671cef3e85d600a82b811ac1df1306583870478a23be54e645f339d4fe4c504a73416d015a6bc35d11d88952f021b
|
data/README.md
CHANGED
|
@@ -8,13 +8,12 @@
|
|
|
8
8
|
|
|
9
9
|
In this guide:
|
|
10
10
|
|
|
11
|
-
- [Installation](
|
|
12
|
-
- [Monitoring Background Jobs](
|
|
13
|
-
- [Sending Telemetry Events](
|
|
14
|
-
- [Configuring Monitors](
|
|
15
|
-
- [Package Configuration & Env Vars](
|
|
16
|
-
- [
|
|
17
|
-
- [Contributing](##contributing)
|
|
11
|
+
- [Installation](#Installation)
|
|
12
|
+
- [Monitoring Background Jobs](#monitoring-background-jobs)
|
|
13
|
+
- [Sending Telemetry Events](#sending-telemetry-events)
|
|
14
|
+
- [Configuring Monitors](#configuring-monitors)
|
|
15
|
+
- [Package Configuration & Env Vars](#package-configuration)
|
|
16
|
+
- [Contributing](#contributing)
|
|
18
17
|
|
|
19
18
|
## Installation
|
|
20
19
|
|
data/lib/cronitor.rb
CHANGED
|
@@ -55,7 +55,8 @@ module Cronitor
|
|
|
55
55
|
|
|
56
56
|
def self.apply_config(rollback: false)
|
|
57
57
|
conf = read_config(output: true)
|
|
58
|
-
|
|
58
|
+
# allow a significantly longer timeout on requests that are sending full yaml config
|
|
59
|
+
monitors = Monitor.put(monitors: conf.fetch('monitors', []), rollback: rollback, timeout: 30)
|
|
59
60
|
puts("#{monitors.length} monitors #{rollback ? 'validated' : 'synced to Cronitor'}.")
|
|
60
61
|
rescue ValidationError => e
|
|
61
62
|
Cronitor.logger.error(e)
|
data/lib/cronitor/monitor.rb
CHANGED
data/lib/cronitor/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: cronitor
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 4.1.
|
|
4
|
+
version: 4.1.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Jeff Byrnes
|
|
@@ -9,7 +9,7 @@ authors:
|
|
|
9
9
|
autorequire:
|
|
10
10
|
bindir: exe
|
|
11
11
|
cert_chain: []
|
|
12
|
-
date: 2021-
|
|
12
|
+
date: 2021-07-13 00:00:00.000000000 Z
|
|
13
13
|
dependencies:
|
|
14
14
|
- !ruby/object:Gem::Dependency
|
|
15
15
|
name: httparty
|