feat(flow-php/telemetry): attribute filtering, log pipeline, and attribute-matching sampler#2437
Merged
norberttech merged 3 commits intoJun 8, 2026
Conversation
…ibute-matching sampler - add Filter matcher tree (rule/all/any/not) compiled to a cached closure - add attribute-filtering processors for spans and metrics - replace SeverityFilteringLogProcessor with LogMiddleware + PipelineLogProcessor - add AttributeFilteringLogMiddleware, SeverityFilteringLogMiddleware, EnrichingLogMiddleware - add AttributeMatchingSampler and DSL functions for all samplers - merge per-scope signal attributes into every emitted signal
Codecov Report❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@
## 1.x #2437 +/- ##
============================================
+ Coverage 84.94% 85.18% +0.23%
- Complexity 20648 20942 +294
============================================
Files 1570 1587 +17
Lines 63532 64514 +982
============================================
+ Hits 53968 54957 +989
+ Misses 9564 9557 -7 🚀 New features to boost your workflow:
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Resolves: #2390
Change Log
Added
flow-php/telemetry- attribute filter with compiled matcher tree (rule/all/any/not)flow-php/telemetry- attribute filtering processors for spans and metricsflow-php/telemetry- log pipeline with enrich/filter/severity middleware and a sinkflow-php/telemetry- attribute matching sampler and DSL functions for all samplersflow-php/telemetry- per-scope signal attributes merged into every signalflow-php/symfony-telemetry-bundle- config for filtering, log pipeline, sampler and logging channelsFixed
Changed
flow-php/symfony-telemetry-bundle- named scopeattributessplit intoscopeandsignalRemoved
flow-php/telemetry-SeverityFilteringLogProcessorreplaced by log middleware and pipelineflow-php/symfony-telemetry-bundle-severity_filteringlog processor type replaced bypipelineDeprecated
Security
What this demonstrates: