Closed neopaf closed 1 year ago
What if instead we provide an ability to open this JSON in a separate tab? There are tons of browser extensions for displaying JSON, with folding capabilities, etc., which we wouldn't need to support in Jaeger UI.
Hey @yurishkuro , I would like to work on this. What method do you suggest, display JSON in a seperate tab or find out a way to do the minimisation within the UI?
Hey @yurishkuro , Is this type of json view is still there now??, I tested it in hotrod app but I cant find this type of json view in span log entries in jaeger ui
Hotrod doesn't log json content. We could change it if there is a reasonable bit of data, eg driver's x,y location could be logged as json to demo this UI feature
Separate tab would help.
But, if that is possible, embedded UI would be ideal.
One of key wishes is "collapse to 1st level", maybe that should even be a default, or maybe "collapse on open if document is longer than 100 lines"
Requirement
As a user of Jaeger UI I want ability to fold long json blocks in span log entries so that simplify search of particular value.
Problem
Current JSON view only highlights keys, giving long hard-to find stuff view, example:
Currently we use long log messages of hundreds of lines, very hard to quickly navigate to important parts.
Proposal
Add folding interactions to JSON view, like in many JSON editors:
Possible options:
See more possible ideas here: https://www.jetbrains.com/help/rider/Code_Folding.html
But the basic: just ability to fold not-interesting region -- we absolutely need it.
Open questions
No response