Skip to content

fix(omi-tv): Uptime by journey reads its date as epoch milliseconds - #25218

Merged
Git-on-my-level merged 1 commit into
mainfrom
lane/dash-uptime-epoch-1114
Nov 13, 2026
Merged

Git-on-my-level merged 1 commit into
mainfrom
lane/dash-uptime-epoch-1114

Conversation

@Git-on-my-level

@Git-on-my-level Git-on-my-level commented Nov 13, 2026 •

Copy link
Copy Markdown
Member

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 as timestamp, 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 timestamp returns seven null dates; with timestamp_epoch it returns 2026-11-06 through 2026-11-12.

Change

One column type in web/admin/grafana/build_wall_dashboard.py (an UPTIME_DATE constant used only by this panel), board JSON regenerated, and an assertion in test_build_wall_dashboard.py pinning the type. No other panel changes; the other date columns carry ISO dates and stay timestamp.

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

View guided diff Turn on auto-fix

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]>
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 13, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-13T17:15:49.700060Z ec41490 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@Git-on-my-level
Git-on-my-level merged commit 7782961 into main Nov 13, 2026
53 checks passed
@Git-on-my-level
Git-on-my-level deleted the lane/dash-uptime-epoch-1114 branch November 13, 2026 17:19
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.

1 participant