Skip to content

Tags: pink-tools/pink-otel

Tags

v1.40.0

Toggle v1.40.0's commit message
fix: use global prettyMode in PrintServiceLog

PrintServiceLog had its own term.IsTerminal() check which could
disagree with the global prettyMode set during Init(), causing
raw JSON output for child service logs while the parent's own
logs were pretty-printed.

v1.20.0

Toggle v1.20.0's commit message
fix: use global prettyMode in PrintServiceLog

PrintServiceLog had its own term.IsTerminal() check which could
disagree with the global prettyMode set during Init(), causing
raw JSON output for child service logs while the parent's own
logs were pretty-printed.

v1.8.1

Toggle v1.8.1's commit message
fix: use global prettyMode in PrintServiceLog

PrintServiceLog had its own term.IsTerminal() check which could
disagree with the global prettyMode set during Init(), causing
raw JSON output for child service logs while the parent's own
logs were pretty-printed.

v1.8.0

Toggle v1.8.0's commit message
feat: add ParseLogMessage for extracting message from OTLP JSON

v1.7.0

Toggle v1.7.0's commit message
fix: sanitize utf-8 in proto strings

v1.6.0

Toggle v1.6.0's commit message
feat: ordered attributes and PrintServiceLog

Breaking change from map[string]any to []otel.Attr because maps don't preserve insertion order.

Added PrintServiceLog for orchestrator to parse OTLP JSON from child processes and format it prettily when running in TTY. Vertical attribute formatting with rune-aware text wrapping. TraceID and SpanID now shown in pretty output.

Split into modules: otel.go (API), convert.go (OTLP types), pretty.go (formatting), parse.go (child logs).

v1.5.1

Toggle v1.5.1's commit message
feat: auto-detect version via debug.ReadBuildInfo

v1.5.0

Toggle v1.5.0's commit message
initial commit