deployangel 0.1.2 → 0.1.3
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/CHANGELOG.md +7 -0
- data/lib/deployangel/agent.rb +7 -2
- data/lib/deployangel/version.rb +1 -1
- 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: 5169af9bd2d83ec8ec1446d4ddf641a8908428bc8d50be14fc124a76cfdca936
|
|
4
|
+
data.tar.gz: 466bff7d697f32e27362394130e2e1e0fc0f4e7c62a098740b3c38598443b0fe
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 5be25747e622d3556d6f2b6d04351f1d3402f910045ad36e15b1e181b393955acee510906c37abafde57f7cfdde4b41d4742bcf6bcf6e90c549914a033f1205d
|
|
7
|
+
data.tar.gz: ed4075d93e23c0a96b813bb385384de53cd05ca878e3e77140af6cae1eeb827e52c5fef5bb8fcfd40e162cac62ead212ea74a019c93bae629ad55fc1dbbd0365
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,12 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.1.3 (2026-10-02)
|
|
4
|
+
|
|
5
|
+
- Each process sends its minute of telemetry 1 to 50 seconds after the
|
|
6
|
+
minute ends, chosen once per process, instead of within the first 10
|
|
7
|
+
seconds. Apps' batches reach DeployAngel spread across the minute rather
|
|
8
|
+
than all at once.
|
|
9
|
+
|
|
3
10
|
## 0.1.2 (2026-10-02)
|
|
4
11
|
|
|
5
12
|
- Unsent minutes wait in the buffer as gzipped JSON rather than Ruby objects.
|
data/lib/deployangel/agent.rb
CHANGED
|
@@ -9,6 +9,12 @@ module DeployAngel
|
|
|
9
9
|
METADATA_PATH = "/api/v1/application_metadata"
|
|
10
10
|
SHUTDOWN_TIMEOUT = 2
|
|
11
11
|
DEFAULT_PAUSE = 60
|
|
12
|
+
# Seconds past each minute a process waits before sending, chosen once
|
|
13
|
+
# per process so the cloud gets a steady stream instead of a burst at
|
|
14
|
+
# the top of the minute. The cloud reads a minute 2 minutes after it
|
|
15
|
+
# ends, so a send that times out (5 seconds) and goes again a minute
|
|
16
|
+
# later still lands in time.
|
|
17
|
+
FLUSH_JITTER = 1.0..50.0
|
|
12
18
|
|
|
13
19
|
attr_reader :config, :release, :instance
|
|
14
20
|
attr_writer :metadata
|
|
@@ -173,8 +179,7 @@ module DeployAngel
|
|
|
173
179
|
@paused_until = nil
|
|
174
180
|
@metadata_sent = false
|
|
175
181
|
@thread = nil
|
|
176
|
-
|
|
177
|
-
@jitter = rand(1.0..10.0)
|
|
182
|
+
@jitter = rand(FLUSH_JITTER)
|
|
178
183
|
end
|
|
179
184
|
|
|
180
185
|
def run_reporter
|
data/lib/deployangel/version.rb
CHANGED