Uploaded image for project: 'OpenShift Logging'
  1. OpenShift Logging
  2. LOG-4225

Log collection support for Open Telemetry Data Model

XMLWordPrintable

    • Icon: Epic Epic
    • Resolution: Unresolved
    • Icon: Normal Normal
    • Logging 6.0.0
    • Logging 5.7.0
    • Log Collection
    • None
    • logging-otel
    • False
    • None
    • False
    • Red
    • NEW
    • Administer, API
    • To Do
    • OBSDA-498 - Enable OpenTelemetry in Cluster Logging Operator
    • OBSDA-498Enable OpenTelemetry in Cluster Logging Operator
    • NEW
    • 70
    • 70% 70%
    • Feature

      Goals

      Log collector to emit JSON log records using the Open Telemetry logs data model and general resource semantic conventions.

      References

      Non-Goals

      • No store or console support for the OTEL model - future story.
      • Initial use case is to allow forwarding logs off-cluster to an OTEL receiver.

      Motivation

      • Rising popularity of OTEL, integrate with external systems based on OTEL.
      • Possible future use of OTEL as a common language with other observability tools.

      Alternatives

      Ignore OTEL.

      Acceptance Criteria

      • CLO optionally forwards valid OTEL logs to external OTEL collector
      • Forwarding of Viaq logs is unaffected
      • It is possible to round-trip Viaq->OTEL-> Viaq, with no data loss
      • Verify functionality is guarded behind a feature gate

      Risk and Assumptions

      • Complicates the CLO
      • Alternate views of the same log data are confusing if consumed in the same cluster.
      • May create a need for further OTEL work (store, console)

      Documentation Considerations

      • Update API reference doc
      • Usecase example of writing to RH managed lokiStack
      • Usecase example of writing to OTEL collector
      • New reference document or redirect to OpenTelementry semantic conventions we use
      • Viaq/OTEL translation table, side by side with definitions.

       

      Open Questions

      Additional Notes

            rhn-engineering-aconway Alan Conway
            rhn-engineering-aconway Alan Conway
            Qiaoling Tang Qiaoling Tang
            Votes:
            2 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated: