Skip to content

freshness_timestamp_metric: age via time() - max() (6-significant-digit scalar rounded the timestamp by 50 min) - #2530

Merged
Flotapponnier merged 1 commit into
devfrom
fix/freshness-ts-precision
Sep 19, 2026
Merged

Flotapponnier merged 1 commit into
devfrom
fix/freshness-ts-precision

Conversation

@Flotapponnier

Copy link
Copy Markdown
Collaborator

prom.scalar rounds to 6 significant digits (cache-size rationale), which rounds a unix time to ~1000 s: the bridge bench showed asOf 17:46:40 for a run at 18:36:50. The loader now asks Prometheus for the age directly.

🤖 Generated with Claude Code

https://claude.ai/code/session_01HJgbZCqjR4nvCfcJSzofbw

…x), not the raw unix time; prom.scalar keeps 6 significant digits and rounded 18:36:50 to 17:46:40

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01HJgbZCqjR4nvCfcJSzofbw
@Flotapponnier
Flotapponnier merged commit 2c711b6 into dev Sep 19, 2026
1 check failed
@Flotapponnier
Flotapponnier deleted the fix/freshness-ts-precision branch September 19, 2026 20:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants