ops: configure Prometheus metrics and Grafana monitoring at logs.cl8y.com #1544
Labels
No labels
agent:fix_bugfix
agent:fix_conflicts
agent:fix_security
agent:gap_analysis
agent:implement
agent:implement
agent:implement
agent:open_issues
agent:ready
agent:research
agent:security_audit
agent:verify
architecture
backend
blocker:hybrid
blocker:launch
blocker:limit-orders
blocker:v2
block:log_only
block:security
bug
ci
contracts
correctness
deploy
dev
devops
docs
documentation
duplicate
e2e
enhancement
epic
feature
frontend
functional-completion
gas
good first issue
governance
help wanted
high-risk
hooks
hybrid
indexer
infra
infrastructure
integrators
invalid
launch-blocker
limit-orders
localnet
localterra
low priority
missing-implementation
needs-design
ops
performance
priority
high
priority
medium
product
qa
QA
question
ready
ready
research
scripts
security
security-hardening
smartcontracts
tech-debt
testing
ux
UX
v2
verification
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
code/cl8y-dex-terraclassic#1544
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Problem
The 2026-10-18 release verification could read Grafana/Loki at https://logs.cl8y.com, but found no provisioned Prometheus datasource. Metrics verification therefore reported
SKIP: no_prometheus_datasource_provisionedrather than establishing metrics coverage.Evidence: live release checklist, machine-readable receipt, PR #1543.
Work
bao-exec; never commit or export secret values.sum(up)is insufficient.Acceptance and verification
./skills/guidance. Check deployment logs and run only relevant checks, each test process under 60 seconds.Related: #1505 retains unresolved recovery/HTTP503 acceptance. The release observed five incoming HTTP503 log entries without route/request-purpose context; configuring monitoring alone does not establish their cause or complete that issue. #1206 and #1211 have their own completed API acceptance.
2026-10-18 verification status
Seven criteria pass; see live results and bounded receipts. Metric labels, private administration and published evidence checks passed, but privacy closure remains open after an inventory diagnostic exposed existing monitoring credentials. Grafana authentication was rotated; S3 and ingestion adoption/revocation remain in the two prepared cl8y-pm custody cards recorded in security remediation. Do not close until that remaining remediation is completed.
Implementation merged via PR #1545, main revision
24469bc6c45e0d57c8fb25077e17ea60df392ac5.Hosted CI remains queued/unverified. The normal PR merge and protected Git push were rejected; the task's explicit unavailable-gate override was used to merge, without creating any fabricated success status. Live acceptance will be reported separately before deciding closure.
Implemented, verified and deployed through merged PRs #1545, #1546, #1547 and evidence PR #1548. Main and the isolated worktree are synchronized at
fe4251852f. The monitoring deployment is pinned to tested sourcefc5b128298.Results, exact queries and sanitized receipts:
Both failed deployments and their fixes remain documented. Hosted CI is unverified: normal protected merge/push paths rejected the release, and the task's explicit unavailable-gate override was used without fabricating success statuses. Coolify aggregate status is running:unknown; native Prometheus/datasource/target health was verified independently.
Leaving #1544 open for the remaining credential remediation. Monitoring success does not close #1505 or identify historical HTTP503 causes. Current metrics correctly distinguish a transient indexer-readiness HTTP503/one-block lag from healthy serving and quote readiness.
Operator follow-up: the collector-inventory card completed, while S3 staging failed after both hidden prompts. The old helper emitted only a generic failure and saved no replacement candidate, so the exact original failure cause remains unknown. A separate signed check confirms the existing S3 key still returns HTTP200; this does not verify the replacement key.
Merged PR #1549 to main at
7a1177d74cand updated the operator checkout.The retry helper is already on main before the card became available. The DEX API and logging services were not restarted. Hosted CI remains pending/unverified; the explicitly requested unavailable-gate override was used after focused checks passed. #1544 remains open; updated evidence and recovery instructions preserve the outstanding work.
The terminal retry after certificate login was rejected by the newly installed OpenBao output guard before child launch. It did not run the staging helper, show S3 prompts, send a bucket probe or save a candidate. This was a terminal compatibility error in the previous operator command, separate from the original generic S3 staging failure.
Merged PR #1550 and updated main/operator checkout to
77bd011d78.Use the reviewed local terminal launcher directly:
It prompts privately outside the credential-bearing child, then invokes explicit guarded bao-exec with all streams piped. Entered keys travel only through bounded private stdin, not argv/environment/files; parent core dumps are disabled. Exact result schemas are validated before any child output reaches the terminal. Saved candidates resume without prompts. Raw output mode is never used and the guard is unchanged.
Nine real-PTY/boundary tests with the installed guard plus eighteen staging workflow controls pass; the full focused verifier passes, every process under60seconds. The deployed launcher boundary's real read-only preflight passes, with no candidate present. Independent privacy review passed. No service restarted or runtime credential changed; hosted CI remains pending/unverified under the previously requested gate override.
New PM card 8260ea2f-b853-4703-b347-06045c63f196 contains the corrected launcher; the direct terminal command in card 410101b8-5584-49f1-be5a-cdc5ac11ae27 is obsolete. Actual replacement entry, verification, adoption and revocation remain pending, so #1544 remains open.
PlasticDigits referenced this issue2026-10-18 13:15:51 +00:00
PlasticDigits referenced this issue2026-10-18 13:43:35 +00:00
PlasticDigits referenced this issue2026-10-18 14:16:12 +00:00
The replacement S3 key is deployed in Loki and verified. The fix and evidence are merged through PR #1555, following #1551–#1554.
main,origin/mainand the worktree are synchronized atc7d3a2c467f60aeca84a956b87c9e65ae029fb68; the verified worker was built from2cb435f284616c75185db3b1ea22e84c16ecdfe7.5b623a04f35bb6b44d3e64df0014e458cad653fcwith HTTP200/admitted serving. Indexer readiness is separately observed as zero; this does not certify indexing/native acceptance.The failed attempts are preserved: Compose recreation changed the strict runtime projection; Engine cloning fixed that and restored exact-ID rollback. Loki then flattened
detected_levelmetadata into stream labels; categorized query responses fixed strict marker/history verification. The corrected query was rehearsed against live Loki before the successful replacement.Adoption and cleanup evidence, post-adoption checks, runbook, and agent invariants are crosslinked. The privacy/remediation criterion is incomplete, so #1544 remains open.
Reopened: credential retirement and ingestion rotation are incomplete. My negated PR wording was interpreted as an automatic closure directive; that wording has been removed from the affected PR descriptions. The completed checks and remaining items in the preceding comment are unchanged. PM custody card
18cf7d12-964e-480a-a254-b33dfc90ec50covers only the guarded Console retirement action.