Otel CLI Dashboard is a Rust-based application that collects and displays telemetry data using OpenTelemetry. It provides a terminal user interface (TUI) to discover and visualize metrics in real-time.
- Collects logs and metrics using OpenTelemetry
- Displays metrics in a terminal user interface (TUI)
- Supports filtering and navigating through discovered metrics
- Visualizes metric data points in a graph
-
Clone the repository:
git clone https://github.com/yourusername/telemetry-dashboard.git cd telemetry-dashboard
-
Install dependencies:
cargo build
-
Run the Telemetry Dashboard:
cargo run -- --address 127.0.0.1:4317 --debug
-
Configure the Otel Collector to send telemetry data to the dashboard:
exporters: otlp: endpoint: localhost:4317 compression: none tls: insecure: true
-
Start the telemetry generator:
$GOPATH/bin/telemetrygen logs --duration 5s --otlp-insecure $GOPATH/bin/telemetrygen metrics --otlp-insecure --metrics 1
--address
: The address to bind the OTLP receiver (default:127.0.0.1:4317
)--debug
: Enable debug mode for more verbose logging
j
: Navigate down the list of discovered metricsk
: Navigate up the list of discovered metricsEnter
: Toggle the selected metric to show/hide the graphq
: Quit the application
This project is licensed under the MIT License. See the LICENSE file for details.