Skip to content

[WIP] Basic support for OTTL in transform processor#2806

Draft
albertlockett wants to merge 5 commits intoopen-telemetry:mainfrom
albertlockett:albert/2736-OTTL-parser-basics
Draft

[WIP] Basic support for OTTL in transform processor#2806
albertlockett wants to merge 5 commits intoopen-telemetry:mainfrom
albertlockett:albert/2736-OTTL-parser-basics

Conversation

@albertlockett
Copy link
Copy Markdown
Member

@albertlockett albertlockett commented May 1, 2026

Status: Work in progress TODO:

  • additional tests in OTTL Parser

Also #2797 can merge first and I'll fix the conflicts on this PR after it is merged.

Change Summary

Adds very basic support for OTTL in the transform processor. All it is currently capably of is setting the value of some field to a literal. Example:

version: otel_dataflow/v1
engine: { }
groups:
  default:
    pipelines:
       # ...
        nodes:
          transform:
            type: processor:transform
            config:
              ottl:
                log_statements:
                - set(severity_text, "ERROR")

There is still quite a lot of work to do in the OTTL Parser & Query-Engine support additional capabilities.

What issue does this PR close?

How are these changes tested?

Unit

Are there any user-facing changes?

Yes - OTTL configuration is now available in transform processor.

@github-actions github-actions Bot added rust Pull requests that update Rust code query-engine Query Engine / Transform related tasks query-engine-ottl OTTL usage of Query Engine query-engine-columnar Columnar query engine which uses DataFusion to process OTAP Batches labels May 1, 2026
@codecov
Copy link
Copy Markdown

codecov Bot commented May 1, 2026

Codecov Report

❌ Patch coverage is 46.22642% with 114 lines in your changes missing coverage. Please review.
✅ Project coverage is 86.01%. Comparing base (993fa36) to head (c3e0ebf).

❌ Your patch check has failed because the patch coverage (46.22%) is below the target coverage (70.00%). You can increase the patch coverage or adjust the target coverage.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2806      +/-   ##
==========================================
- Coverage   86.04%   86.01%   -0.04%     
==========================================
  Files         704      706       +2     
  Lines      263905   264102     +197     
==========================================
+ Hits       227085   227160      +75     
- Misses      36296    36418     +122     
  Partials      524      524              
Components Coverage Δ
otap-dataflow 86.99% <97.02%> (+<0.01%) ⬆️
query_abstraction 80.61% <ø> (ø)
query_engine 90.51% <0.00%> (-0.26%) ⬇️
otel-arrow-go 52.45% <ø> (ø)
quiver 92.25% <ø> (ø)
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@albertlockett albertlockett changed the title [WIP] Basic integration of OTTL in transform processor [WIP] Basic support for OTTL in transform processor May 1, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

query-engine Query Engine / Transform related tasks query-engine-columnar Columnar query engine which uses DataFusion to process OTAP Batches query-engine-ottl OTTL usage of Query Engine rust Pull requests that update Rust code

Projects

Status: No status

Development

Successfully merging this pull request may close these issues.

1 participant