Uploaded image for project: 'Observability UI'
  1. Observability UI
  2. OU-527

Tracing Plugin Enhancement - Add Lezer syntax-highlighting and auto-completion to TraceQL input (downstream)

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Done
    • Icon: Undefined Undefined
    • COO 1.0.0 RC
    • None
    • tracing-team
    • None
    • Tracing Sprint # 260

      Background

      Currently, the TraceQL input is a plain text box. To enhance this, we could add lezer-traceql [1]

      "Lezer (the Dutch word for reader, pronounced like “laser”) provides a parser generator that outputs JavaScript modules, which can be loaded to parse code into a non-abstract syntax tree. This tree can then be used to do highlighting and basic semantic analysis." [2]

       

      [1] https://github.com/grafana/lezer-traceql

      [2] https://lezer.codemirror.net/

      Outcomes

      • To able to validate a TraceQL query in the input field
      • Syntax highlighting

              agerstma@redhat.com Andreas Gerstmayr
              jezhu@redhat.com Jenny Zhu
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: