Skip to content

feat(otap-dataflow): [WIP] add live internal log streaming to the admin UI#2620

Draft
lalitb wants to merge 8 commits intoopen-telemetry:mainfrom
lalitb:logtap-webui
Draft

feat(otap-dataflow): [WIP] add live internal log streaming to the admin UI#2620
lalitb wants to merge 8 commits intoopen-telemetry:mainfrom
lalitb:logtap-webui

Conversation

@lalitb
Copy link
Copy Markdown
Member

@lalitb lalitb commented Apr 9, 2026

Description

This PR adds live internal log viewing to the embedded admin UI.

It introduces:

  • a WebSocket log stream endpoint for retained internal logs
  • server-side pause/resume, backfill, and filtering for the stream
  • an “Internal Logs” panel in the admin UI

Implementation notes:

  • log_tap now supports live subscribers in addition to retained-log queries
  • the stream reuses the admin log schema used by /api/v1/telemetry/logs
  • the log panel remains disconnected by default and only opens the stream when the user explicitly clicks Connect

User-facing behavior:

  • view internal logs live in the admin UI
  • pause/resume server-side delivery
  • resync from retained logs after drops
  • filter by minimum level and text

When admin UI opened, the log panel is disabled.

Screenshot 2026-04-12 at 10 59 41 AM

When enabled:

Screenshot 2026-04-12 at 11 01 03 AM

lalitb and others added 4 commits April 9, 2026 00:20
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@github-actions github-actions bot added the rust Pull requests that update Rust code label Apr 9, 2026
@lalitb lalitb changed the title feat(otap-dataflow): add live internal log streaming to the admin UI feat(otap-dataflow): [WIP] add live internal log streaming to the admin UI Apr 9, 2026
@codecov
Copy link
Copy Markdown

codecov bot commented Apr 9, 2026

Codecov Report

❌ Patch coverage is 61.47705% with 193 lines in your changes missing coverage. Please review.
✅ Project coverage is 88.09%. Comparing base (5868ff1) to head (0316fa5).

❌ Your patch check has failed because the patch coverage (61.47%) is below the target coverage (70.00%). You can increase the patch coverage or adjust the target coverage.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2620      +/-   ##
==========================================
- Coverage   88.14%   88.09%   -0.06%     
==========================================
  Files         633      633              
  Lines      235806   236291     +485     
==========================================
+ Hits       207862   208153     +291     
- Misses      27420    27614     +194     
  Partials      524      524              
Components Coverage Δ
otap-dataflow 89.77% <61.47%> (-0.08%) ⬇️
query_abstraction 80.61% <ø> (ø)
query_engine 90.74% <ø> (ø)
otel-arrow-go 52.45% <ø> (ø)
quiver 92.27% <ø> (ø)
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@lquerel
Copy link
Copy Markdown
Contributor

lquerel commented Apr 12, 2026

Could you add a screenshot showing the controls to display / hide the log tap panel.

@lalitb
Copy link
Copy Markdown
Member Author

lalitb commented Apr 13, 2026

Could you add a screenshot showing the controls to display / hide the log tap panel.

I added that now. This PR originally did not include a separate show/hide control for the Internal Logs panel, but it does now, and I’ve also added screenshots showing the display/hide control and the panel state.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

rust Pull requests that update Rust code

Projects

Status: No status

Development

Successfully merging this pull request may close these issues.

2 participants