Skip to content

Log Level & Telemetry Configuration Page #315

@ElioNeto

Description

@ElioNeto

Log Level & Telemetry Configuration Page

Create an Angular page for configuring logging levels and OpenTelemetry tracing using the existing log and telemetry infrastructure.

Backend Endpoints Needed

GET    /admin/log/config          — Current log configuration (level, format)
PUT    /admin/log/config          — Update log configuration
GET    /admin/log/tail?lines=N    — Tail recent log entries
GET    /admin/telemetry/config    — Current telemetry configuration
PUT    /admin/telemetry/config    — Update telemetry configuration
GET    /admin/telemetry/spans     — Recent trace spans (if captured)

UI Requirements

Log Configuration

  • Log Level: Dropdown (TRACE, DEBUG, INFO, WARN, ERROR, OFF)
  • Per-Module Levels: Table to set different levels per module
  • Log Format: JSON or plain text
  • Output: stdout, file, or both

Live Log Viewer

  • Tail: Real-time log tail feed (via WebSocket or polling)
  • Filter: By level, module, or search text
  • Highlight: Color-coded log levels
  • Pause/Resume: Freeze the feed to inspect
  • Copy: Copy log entries to clipboard

Telemetry Configuration

  • Tracing: Enable/disable OpenTelemetry tracing
  • Sampling Rate: Percentage of requests to trace
  • Export Endpoint: OTLP endpoint URL
  • Service Name: Service identifier for traces

Acceptance Criteria

  • Log level dropdown changes are reflected
  • Per-module log level configuration works
  • Log tail shows recent entries
  • Log entries are color-coded by level
  • Telemetry config can be viewed and updated
  • Error states for API failures

Parent Epic

#290

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions