Skip to content

processor/transform: add exemplar OTTL context support#49023

Open
akhileshsingh85 wants to merge 1 commit into
open-telemetry:mainfrom
akhileshsingh85:processor-transform-exemplar
Open

processor/transform: add exemplar OTTL context support#49023
akhileshsingh85 wants to merge 1 commit into
open-telemetry:mainfrom
akhileshsingh85:processor-transform-exemplar

Conversation

@akhileshsingh85

@akhileshsingh85 akhileshsingh85 commented Jun 11, 2026

Copy link
Copy Markdown
Contributor

Description

Wire the existing ottlexemplar context into metric statement parsing and execution so transformprocessor can mutate exemplar fields on gauge, sum, histogram, and exponential histogram datapoints.

Expose default and custom exemplar function hooks alongside metric and datapoint functions, and validate context: exemplar in transform configs.

Link to tracking issue

Fixes #49022

Testing

  • go test ./... (from processor/transformprocessor)

Documentation

  • processor/transformprocessor/README.md updated documents to include exemplar support for metrics proto.

Authorship

  • I, a human, wrote this pull request description myself.

Wire the existing ottlexemplar context into metric statement parsing and execution so transformprocessor can mutate exemplar fields on gauge, sum, histogram, and exponential histogram datapoints.

Expose default and custom exemplar function hooks alongside metric and datapoint functions, and validate context: exemplar in transform configs.

Tests:

- go test ./... (from processor/transformprocessor)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[processor/transform]: wire OTTL exemplar context into transformprocessor

3 participants