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

Add logging plugin OTel support

XMLWordPrintable

    • Icon: Epic Epic
    • Resolution: Done
    • Icon: Critical Critical
    • COO 1.2.0
    • None
    • logging-plugin
    • None
    • Add logging plugin OTel support
    • Product / Portfolio Work
    • OBSDA-849Enable Full In-Cluster OpenTelemetry Support In OpenShift Logging
    • 0% To Do, 0% In Progress, 100% Done
    • False
    • Hide

      None

      Show
      None
    • False
    • None
    • None
    • None

      Background

      OpenShift Logging will transition from ViaQ to OTEL schema. This means the labels used for matching pods, containers and namespaces will change. We need to adjust the logging plugin to add support for OTEL schema.

      Steps

      • Add a dropdown to select the desired schema, the default selected option will come from the plugin configuration as defined in the UIPlugin CR. If the configuration already has set a default model and not an option to select both, the dropdown should not be visible.
        • The default model is ViaQ to keep backwards compatibility
        • The dropdown will be hidden by default, we will have 3 configuration options:
          • Display the dropdown
          • Use OTEL
          • Use ViaQ
      • When ViaQ schema is selected:
        • The plugin behaves without any changes to the labels
      • When OTEL schema is selected:
        • The filters use the OTEL labels
        • The `| json` parsing is removed from the default query as is not needed for OTEL
        • The histogram removes the `| json` as is not needed for OTEL
        • The log entries in the table parse the main message log according to the OTEL semantics
        • Show and hide resources get the information from the new OTEL labels
      • These changes will be targeted to COO 1.2.0

      Document regarding migration: https://docs.google.com/document/d/1KvfjDCq77MZaS9_s6sDWO8pNj7M7GZ2_jT6Qd1Dc_yM/edit?tab=t.0#heading=h.9e6c2qq6quy0

       

      Meeting Notes from Logging + Obs UI Alignment on April 22, 2025

      https://docs.google.com/document/d/1yBMh7PiM6LX30owcE9zoSOKUwbBwDZkRb4tGLUxSInU/edit?tab=t.0

       

       

      Outcomes

      The logging view plugin allows users to query using the old ViaQ schema and the new OTEL schema

              gbernal@redhat.com Gabriel Bernal
              gbernal@redhat.com Gabriel Bernal
              None
              Anping Li Anping Li
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: