Skip to content

Conversation

@edmocosta
Copy link
Contributor

Description

Fixed OTTL grammar to treat the string literal "nil" as ordinary text instead of a nil value.

Link to tracking issue

Fixes #44374

Testing

Unit tests

Documentation

No changes

Copy link
Member

@TylerHelmuth TylerHelmuth left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice, a rare grammar bug

@codeboten codeboten merged commit a6e74fa into open-telemetry:main Nov 19, 2025
187 of 195 checks passed
@github-actions github-actions bot added this to the next release milestone Nov 19, 2025
@edmocosta edmocosta deleted the fix-ottl-nil-string branch November 20, 2025 14:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

OTTL: String literal "nil" incorrectly treated as null when setting values

6 participants