Skip to content

feat: add ability to change live tail refresh interval - #1432

Merged
wrn14897 merged 3 commits into
ClickHouse:mainfrom
alok87:feat-configure-tail-live
Dec 3, 2025
Merged

wrn14897 merged 3 commits into
ClickHouse:mainfrom
alok87:feat-configure-tail-live

Conversation

@alok87

@alok87 alok87 commented Dec 3, 2025 •

Copy link
Copy Markdown
Contributor

Summary

This PR adds the ability to change the live tail refresh interval as requested in #1419.

Changes

  • Added a dropdown selector in the search page that appears when live tail mode is active
  • Options include: 1s, 2s, 4s (default), 10s, and 30s
  • The selected refresh frequency is persisted in the URL query parameter refreshFrequency so it survives page reloads

Screenshots

When in live tail mode, a dropdown appears allowing users to select their preferred refresh interval:

image

Testing

  • Verified the dropdown appears only when live tail is active
  • Verified changing the interval updates the refresh frequency
  • Verified the selection persists in the URL

Fixes #1419

Adds a dropdown selector in the search page that allows users to configure
the live tail refresh interval. Options include 1s, 2s, 4s (default), 10s,
and 30s.

The selected refresh frequency is persisted in the URL query parameter
'refreshFrequency' so it survives page reloads.

Fixes: ClickHouse#1419
@changeset-bot

changeset-bot Bot commented Dec 3, 2025 •

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: 3099e71

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 2 packages
Name Type
@hyperdx/app Patch
@hyperdx/api Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@vercel

vercel Bot commented Dec 3, 2025

Copy link
Copy Markdown

@alok87 is attempting to deploy a commit to the HyperDX Team on Vercel.

A member of the Team first needs to authorize it.

@vercel

vercel Bot commented Dec 3, 2025 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Preview Comments Updated (UTC)
hyperdx-v2-oss-app Ready Ready Preview Comment Dec 3, 2025 0:40am

Comment thread packages/app/src/DBSearchPage.tsx Outdated
/>
<Group gap="sm" align="center">
{isLive && (
<Tooltip label="Live tail refresh interval">

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What do you think about placing the dropdown on the right-hand side of the datetime picker?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Image

Done, pushed

@wrn14897 wrn14897 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@alok87 can you add a changeset? a patch bump should be sufficient

@wrn14897 wrn14897 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Awesome feature. Thanks for the contribution!

@wrn14897
wrn14897 merged commit d7a5c43 into ClickHouse:main Dec 3, 2025
7 of 9 checks passed

This branch was successfully deployed

1 active deployment
Preview — 3099e714 Deployed Dec 3, 2025 by vercel[bot]
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.

Add ability to change live tail refresh interval

2 participants