Uploaded image for project: 'Cluster Observability Operator'
  1. Cluster Observability Operator
  2. COO-1175

UI Plugin distributed-tracing queries broken containing double quotes

XMLWordPrintable

    • Quality / Stability / Reliability
    • False
    • Hide

      None

      Show
      None
    • 1
    • None
    • None
    • None
    • Tracing Sprint # 276, Tracing Sprint # 277 - 3.7
    • None
    • None
    • None

      Using the COO 1.2.2 UIPlugin distributed-tracing queries containing double quotes are broken even though those quotes are coming from the dropdown menus.

       

      how to reproduce

      • install COO 1.2.2
      • install UIPlugin distributed tracing
      • Configure a Tempo instance to be used
      • create a trace with double quotes in any filterable value

       

      Evaluated mitigations

      • changing the value from double quotes to single quotes fails
      • changing the query to encapsulate the value in backticks succeeds
      example: fail
      { .service.namespace="quay-qe" && .http.route='/v2/<repopath:repository>/blobs/<regex("([A-Za-z0-9_+.-]+):([A-Fa-f0-9]+)"):digest>' }
      example: succeed
      { .service.namespace="quay-qe" && .http.route=`/v2/<repopath:repository>/blobs/<regex("([A-Za-z0-9_+.-]+):([A-Fa-f0-9]+)"):digest>` } 

       

              agerstma@redhat.com Andreas Gerstmayr
              rhn-support-milang Michaela Lang
              None
              None
              None
              Ishwar Kanse Ishwar Kanse
              None
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: