Skip to content

feat: OTLP traces, anonymous ACL, Mermaid preview, and tb wc - #7

Open
Citizen4our wants to merge 6 commits into
mainfrom
feat/otlp
Open

Citizen4our wants to merge 6 commits into
mainfrom
feat/otlp

Conversation

@Citizen4our

Copy link
Copy Markdown
Collaborator

Synopsis

Operators could not see MCP tool and search latency in OpenObserve. The Web UI also had no path for unauthenticated ACL browsing, markdown diagrams did not render, and tb wc lacked POSIX glob/recursive flags.

Solution

  • Opt-in OTLP/HTTP protobuf export (blocking reqwest, no Collector) for MCP tools/call and Tantivy/SQLite search spans; local compose under e2e/otel/
  • Optional [anonymous] path ACL when credentials are absent (invalid PSK/OIDC still fail closed); Web UI Login/Logout around public view
  • Mermaid diagrams in document preview
  • tb wc POSIX flags, glob, recursive walk, MCP; CLI honors TB_API_URI and optional insecure TLS

This branch includes the commits from #5 plus auth, Mermaid, and OTLP on top.

Checklist

  • Created PR:
    • In draft mode
    • Name contains Jira ticket ID
    • Has assignee
  • Before review:
    • Documentation is updated (docs/opentelemetry.md, CHANGELOG for anonymous ACL)
    • Tests are updated
    • Changes conform code style
    • CHANGELOG covers OTLP/Mermaid/tb wc (anonymous ACL only today)
    • Draft mode is removed
  • Review is completed and changes are approved
  • Before merge:
    • PR's name and description are correct and up-to-date
    • All temporary labels are removed
    • PR's changes are prepared for squash merging

Test plan

  • just test (or CI green)
  • MCP search/list produces spans in OpenObserve when OTEL_EXPORTER_OTLP_* is set
  • Web UI: open a .md with a mermaid fence — diagram renders
  • Web UI: anonymous ACL config — entries load without PSK; Login still works
  • tb wc -l 'docs/**/*.md' (glob + recursive as documented)

Made with Cursor

Citizen4our and others added 6 commits June 5, 2026 15:03
Co-authored-by: Cursor <cursoragent@cursor.com>
Opt-in OpenTelemetry over OTLP/HTTP protobuf (blocking reqwest)
so MCP tool latency and Tantivy/SQLite search spans reach OpenObserve
without a Collector; includes unit/integration tests and e2e compose.
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