Show oldest stream message timestamp in management UI#15412
Open
the-mikedavis wants to merge 1 commit intomainfrom
Open
Show oldest stream message timestamp in management UI#15412the-mikedavis wants to merge 1 commit intomainfrom
the-mikedavis wants to merge 1 commit intomainfrom
Conversation
This change shows the `first_timestamp` counter's value as a detail in the management UI as a formatted timestamp. This is somewhat useful for attaching offset listeners by timestamp - you know the oldest timestamp in the stream you can start from.
the-mikedavis
commented
Feb 6, 2026
| <td><%= fmt_string(queue.segments) %></td> | ||
| </tr> | ||
| <tr> | ||
| <th>Oldest message</th> |
Collaborator
Author
There was a problem hiding this comment.
"Oldest message" ? "First timestamp" ? I'm not attached to the phrasing here
Collaborator
There was a problem hiding this comment.
"Oldest" is unambiguous while "first" can be interpreted as the head or the tail, so I'd use "oldest" personally.
|
|
||
| function fmt_timestamp_mini(ts) { | ||
| if (ts == undefined) { | ||
| return UNKNOWN_REPR; |
Collaborator
Author
There was a problem hiding this comment.
These changes show the dimmed "?" when the page is waiting for data to arrive. Otherwise these fmts would show "NaN-NaN-NaN"
acogoluegnes
approved these changes
Feb 9, 2026
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.
This change shows the
first_timestampcounter's value as a detail in the management UI as a formatted timestamp. This is somewhat useful for attaching offset listeners by timestamp - you know the oldest timestamp in the stream you can start from.Example...