cockroachdb / cockroachdb/cockroach

Add seconds to the date format shown in the Events UX

Open
#115,726 0 comments 0 reactions 0 assignees View on GitHub
C-enhancement O-23.2-scale-testing O-testcluster T-observability
Dominant language
Go
Stars
32.5k
Forks
4.1k
PR merge metrics
PR metrics pending

Description

Per [this](https://cockroachlabs.slack.com/archives/C05VAJ5H3QS/p1701884538355559) thread, the ask is to add seconds to the date format shown below. Reason is because our metrics tick every 10s, but our events in the UX only show once-a-minute. Operators shouldn't have to wait a full minute to know for certain when something changed unless it's necessary. Second, improved granularity helps make operators more efficient by removing ambiguity about when a setting was changed when using just the UI.

![image](https://github.com/cockroachdb/cockroach/assets/110843721/f128b0f3-44f8-4cc3-9613-f41674bc68c6)

Jira issue: CRDB-34169

Contributor guide

Open the contributing guide

Research direction

Start in the Events UX date-rendering entry point and inspect the format currently used for event timestamps. Update the displayed precision to include seconds, then verify in the Events UI that timestamps distinguish changes occurring within the same minute and remain consistent with the 10-second metrics interval.

Written by the indexing model from the issue text.

Assessment

Domain
frontend
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.