Skip to content

jsonl exporter for registry live-check #1132

@xrmx

Description

@xrmx

Is your feature request related to a problem? Please describe.

I'm running weaver in CI with popen and it would be great to communicate with it using stdout / stderr without touching the filesystem. The current --format=json option outputs a stream of json object, e.g.:

{
  "...": ...
}
{
  "..": ...
}

Which are harder to parse since the whole output is not a valid json document.

Describe the solution you'd like

Providing a json lines (https://jsonlines.org) formatter that is using newline as document separator would make it easier to consume it, e.g.:

{"...": ...}
{"...": ...}

Describe alternatives you've considered

I've tried --output but looks like there's a race condition there between the different signals, e.g. metrics override traces.

Additional context
Add any other context or screenshots about the feature request here.

Tip: React with 👍 to help prioritize this issue. Please use comments to provide useful context, avoiding +1 or me too, to help us triage it. Learn more here.

Metadata

Metadata

Assignees

Labels

live-checkRelated to the live-check feature

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions