Repository navigation
fix(omi-tv): Uptime by journey reads its date as epoch milliseconds - #25218
Merged
Merged
Conversation
The uptime sidecar emits each day as epoch milliseconds (a number), but the panel declared the date column as a plain "timestamp", which the Infinity datasource parses to null. With every date null the time series could not place a point and read "Data outside time range" even though the query returned seven daily rows. Verified read-only against the live board's query: type timestamp gives null dates, timestamp_epoch gives 11-06 through 11-12. Board JSON regenerated; a test pins the column type. Failure-Class: none Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Codex Review Summary: ✅ CompletedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
Omi TV's "Uptime by journey" now declares its date column as epoch milliseconds, so the chart plots its days instead of reading "Data outside time range".
Why
The uptime sidecar (
stats_proxy.py, applied on prod 2026-11-13 15:22Z) emits each day as epoch milliseconds, a number. The panel declared the column astimestamp, which the Infinity datasource parses to null. Every date came back null, so the time series could not place a point; the board showed "Data outside time range" and "Zoom to data" while the query returned seven daily rows. David reported it from the live board.Evidence
Read-only, through Grafana's query API against the live board (Business org, omi-tv-v2 v14): the same target with column type
timestampreturns seven null dates; withtimestamp_epochit returns 2026-11-06 through 2026-11-12.Change
One column type in
web/admin/grafana/build_wall_dashboard.py(anUPTIME_DATEconstant used only by this panel), board JSON regenerated, and an assertion intest_build_wall_dashboard.pypinning the type. No other panel changes; the otherdatecolumns carry ISO dates and staytimestamp.Tests
python3 web/admin/grafana/test_build_wall_dashboard.py: 18 passed (the checked-in board equals the builder output).Rollout
Merging applies the board automatically (job
provision-prod-ops-dashboards, Business org, no approval). The history behind the chart is whatever Prometheus holds (retention 10 days, so about seven daily points today); this change does not add history.Failure-Class: none
🤖 Generated with Claude Code