-
Story
-
Resolution: Unresolved
-
Undefined
-
None
-
None
-
None
-
None
-
False
-
-
False
-
NEW
-
NEW
-
-
-
Sprint 268
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.
- 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
- We need to make these changes and backport them to 6.0, before the PF6 migration which might happen in (6.1)
Document regarding migration: https://docs.google.com/document/d/1KvfjDCq77MZaS9_s6sDWO8pNj7M7GZ2_jT6Qd1Dc_yM/edit?tab=t.0#heading=h.9e6c2qq6quy0
Outcomes
The logging view plugin allows users to query using the old ViaQ schema and the new OTEL schema
- is related to
-
LOG-6574 Prepare Logging to use OTel Semantics by default
- New