Skip to content

Symofny framework telemetry bridge#2202

Draft
norberttech wants to merge 7 commits into1.xfrom
symofny-framework-telemetry-bridge
Draft

Symofny framework telemetry bridge#2202
norberttech wants to merge 7 commits into1.xfrom
symofny-framework-telemetry-bridge

Conversation

@norberttech
Copy link
Member

Resolves: #xxx

Change Log


Added

Fixed

Changed

Removed

Deprecated

Security

- created configuration for multiple instances of telemetry
- created robust test case with dedicated TestKernel
- capture console commands telemetry
- capture messenger telemetry
- capture http kernel telemetry
… container

- updated dependencies in website to be links from monorepo
@norberttech norberttech marked this pull request as draft February 7, 2026 12:46
Comment on lines +143 to +157
->scalarNode('version')
->info('Instrumentation scope version')
->defaultValue('unknown')
->end()
->scalarNode('schema_url')
->info('Schema URL for semantic conventions')
->defaultNull()
->end()
->arrayNode('attributes')
->info('Additional scope attributes')
->normalizeKeys(false)
->useAttributeAsKey('name')
->prototype('variable')->end()
->end()
->end()
Copy link
Member

Choose a reason for hiding this comment

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

Do we need some validation over those? Like if schema is URL-like etc?

->info('HTTP kernel request tracing configuration')
->canBeEnabled()
->children()
->arrayNode('exclude_routes')
Copy link
Member

Choose a reason for hiding this comment

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

With routes, it's tricky to cover them well cause you sometimes want to exclude, i.e., 401/403/404, but you still want to have 200 covered

return $transportServiceId;
}

$endpoint = $config['endpoint'] ?? 'http://localhost:4318';
Copy link
Member

Choose a reason for hiding this comment

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

I think you enforce values on the configuration level, no?

Comment on lines +73 to +75
$parts = \explode('\\', $className);

return \end($parts);
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
$parts = \explode('\\', $className);
return \end($parts);
return \substr(\strrchr($className, '\\'), 1);

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.

2 participants