equinix-labs / equinix-labs/otel-cli

remove pterm dependency, replace with printing to stdout

Open
#273 1 comment 0 reactions 0 assignees View on GitHub
dependencies minor
Dominant language
Go
Stars
716
Forks
57
PR merge metrics
No merged PRs in 30d

Description

The server tui functionality doesn't seem too widely used and its usefulness is limited. The pterm module has frequent updates and pulls in a few dependencies that could be left behind.

My thought is to rip pterm out and have `otel-cli server tui` instead print spans to the terminal, with more detail than the current text UI can show.

The result should work in more terminals, with less fuss, while showing more details.

Contributor guide

Open the contributing guide

Research direction

Start at the implementation of `otel-cli server tui` and inspect how the current terminal UI uses pterm and how spans are rendered. Define the stdout output and detail level from the issue, then verify that the command works across terminals and no longer requires pterm.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
cli, observability
Issue type
Refactor
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.