@misterhuydo/sentinel 1.4.0 → 1.4.1
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.
package/.cairn/session.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
|
-
"message": "Auto-checkpoint at 2026-03-24T08:
|
|
3
|
-
"checkpoint_at": "2026-03-24T08:
|
|
2
|
+
"message": "Auto-checkpoint at 2026-03-24T08:09:22.572Z",
|
|
3
|
+
"checkpoint_at": "2026-03-24T08:09:22.573Z",
|
|
4
4
|
"active_files": [],
|
|
5
5
|
"notes": [],
|
|
6
6
|
"mtime_snapshot": {}
|
package/package.json
CHANGED
|
@@ -38,6 +38,18 @@ GREP_FILTER=WARN|ERROR
|
|
|
38
38
|
# Drop lines matching this regex (grep -iv)
|
|
39
39
|
GREP_EXCLUDE=SSLTool|CommandValidate|hystrix
|
|
40
40
|
|
|
41
|
+
# ── Routing ───────────────────────────────────────────────────────────────────
|
|
42
|
+
|
|
43
|
+
# Which repo-config to route errors from this log source to.
|
|
44
|
+
# The filename stem is the default match (e.g. "MyService.properties" → "MyService" repo-config).
|
|
45
|
+
# Set TARGET_REPO to override: use the exact repo-config filename stem, or "auto" (future).
|
|
46
|
+
# TARGET_REPO=MyService
|
|
47
|
+
|
|
48
|
+
# ── Log sync (optional) ───────────────────────────────────────────────────────
|
|
49
|
+
|
|
50
|
+
# Set to false to disable background rsync for this source (default: true)
|
|
51
|
+
# SYNC_ENABLED=true
|
|
52
|
+
|
|
41
53
|
# ── Cloudflare source (SOURCE_TYPE=cloudflare) ────────────────────────────────
|
|
42
54
|
|
|
43
55
|
# Full URL of the Cloudflare Worker log endpoint
|
|
@@ -19,6 +19,12 @@ BRANCH=main
|
|
|
19
19
|
# true → Sentinel pushes directly to BRANCH and triggers CI/CD
|
|
20
20
|
AUTO_PUBLISH=false
|
|
21
21
|
|
|
22
|
+
# ── Health check (optional) ───────────────────────────────────────────────────
|
|
23
|
+
|
|
24
|
+
# HTTP endpoint returning {"Status": "true"} when healthy.
|
|
25
|
+
# Sentinel polls this after each fix to detect 502/503 before the next log cycle.
|
|
26
|
+
# HEALTH_URL=https://myservice.example.com/health
|
|
27
|
+
|
|
22
28
|
# ── CI/CD (optional) ──────────────────────────────────────────────────────────
|
|
23
29
|
# Leave blank if this repo has no deploy pipeline (e.g. shared libraries)
|
|
24
30
|
|
|
@@ -18,6 +18,10 @@ REPORT_INTERVAL_HOURS=1
|
|
|
18
18
|
# Uncomment here only if this project needs a different token.
|
|
19
19
|
# GITHUB_TOKEN=<github-pat>
|
|
20
20
|
|
|
21
|
+
# Fix confirmation: hours of silence after a fix marker appears in production logs before
|
|
22
|
+
# the fix is declared confirmed. Increase for services that deploy infrequently.
|
|
23
|
+
# MARKER_CONFIRM_HOURS=24
|
|
24
|
+
|
|
21
25
|
# State DB and workspace paths (relative to this project dir)
|
|
22
26
|
STATE_DB=./sentinel.db
|
|
23
27
|
WORKSPACE_DIR=./workspace
|
|
@@ -64,6 +64,17 @@ UPGRADE_CHECK_HOURS=6
|
|
|
64
64
|
# Config repo polling: if the project dir is a git repo, pull for config changes every N seconds
|
|
65
65
|
CONFIG_POLL_INTERVAL=60
|
|
66
66
|
|
|
67
|
+
# Fix confirmation: hours of silence after a fix marker appears in production logs before
|
|
68
|
+
# the fix is declared confirmed. Increase for services that deploy infrequently.
|
|
69
|
+
MARKER_CONFIRM_HOURS=24
|
|
70
|
+
|
|
71
|
+
# Log sync: rsync remote logs to workspace/synced/ for full searchable history
|
|
72
|
+
# Set SYNC_ENABLED=false to disable entirely
|
|
73
|
+
SYNC_ENABLED=true
|
|
74
|
+
SYNC_INTERVAL_SECONDS=300
|
|
75
|
+
SYNC_RETENTION_DAYS=30
|
|
76
|
+
SYNC_MAX_FILE_MB=200
|
|
77
|
+
|
|
67
78
|
# Slack Bot (Sentinel Boss) — shared across all projects
|
|
68
79
|
# SLACK_BOT_TOKEN=xoxb-...
|
|
69
80
|
# SLACK_APP_TOKEN=xapp-...
|