-
Epic
-
Resolution: Done
-
Critical
-
None
-
None
-
Add logging plugin OTel support
-
Product / Portfolio Work
-
-
0% To Do, 0% In Progress, 100% Done
-
False
-
-
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
- is depended on by
-
COO-816 Update the Loggin UI Plugin that includes OTEL support
-
- Closed
-
-
COO-818 Include the OTEL / ViaQ schema configuration in the logging UI plugin CRD
-
- Closed
-
- is duplicated by
-
OU-583 Enable Full In-Cluster OpenTelemetry Support In OpenShift Logging
-
- Closed
-
- is related to
-
LOG-6574 Prepare Logging to use OTel Semantics by default
-
- Closed
-