Download the PHP package traceway/opentelemetry-symfony without Composer
On this page you can find all versions of the php package traceway/opentelemetry-symfony. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download traceway/opentelemetry-symfony
More information about traceway/opentelemetry-symfony
Files in traceway/opentelemetry-symfony
Download traceway/opentelemetry-symfony
More information about traceway/opentelemetry-symfony
Files in traceway/opentelemetry-symfony
Vendor traceway
Package opentelemetry-symfony
Short Description Pure-PHP OpenTelemetry instrumentation for Symfony — automatic HTTP, Console, HttpClient, Messenger, Doctrine DBAL, Cache, Twig tracing and Monolog log-trace correlation with response propagation, a lightweight Tracing helper, route templates, and semantic conventions. No C extension required (ext-protobuf recommended for production).
License MIT
Homepage https://github.com/tracewayapp/opentelemetry-symfony-bundle
Package opentelemetry-symfony
Short Description Pure-PHP OpenTelemetry instrumentation for Symfony — automatic HTTP, Console, HttpClient, Messenger, Doctrine DBAL, Cache, Twig tracing and Monolog log-trace correlation with response propagation, a lightweight Tracing helper, route templates, and semantic conventions. No C extension required (ext-protobuf recommended for production).
License MIT
Homepage https://github.com/tracewayapp/opentelemetry-symfony-bundle
Please rate this library. Is it a good library?
Informations about the package opentelemetry-symfony
# OpenTelemetry Symfony Bundle
[](https://github.com/tracewayapp/opentelemetry-symfony-bundle/actions/workflows/ci.yml)
[](https://codecov.io/gh/tracewayapp/opentelemetry-symfony-bundle)
[](https://packagist.org/packages/traceway/opentelemetry-symfony)
[](https://packagist.org/packages/traceway/opentelemetry-symfony)
[](https://php.net)
[](https://symfony.com)
[](LICENSE)
[](https://discord.gg/9tPn2SB3)
Pure-PHP OpenTelemetry instrumentation for Symfony. Automatic tracing for HTTP, Console, HttpClient, Messenger, Mailer, Scheduler, Doctrine DBAL, Cache, and Twig — plus Monolog log-trace correlation, OTel log export, and opt-in metrics. **No C extension required.**
Works with any OpenTelemetry-compatible backend: [Traceway](https://tracewayapp.com), [Jaeger](https://www.jaegertracing.io/), [Zipkin](https://zipkin.io/), [Datadog](https://www.datadoghq.com/), [Grafana Tempo](https://grafana.com/oss/tempo/), [Honeycomb](https://www.honeycomb.io/), [AWS X-Ray](docs/aws-xray.md), and more.
- **Pure PHP** — installs on every managed Symfony host
- **Production-ready** — stable since v1.0, PHPStan level 10 with no baseline, Symfony 6.4 LTS through 8.x
- **Correct under load** — Messenger context propagates across async boundaries, DBAL 3 and 4 CI-tested, re-entrance guards on HttpClient and the log handler
## Installation
Symfony Flex registers the bundle automatically. Without Flex, add it to `config/bundles.php`:
## Quick Start
That's it. Every HTTP request, console command, outgoing call, Messenger job, DB query, cache operation, and Twig render is now traced.
Prefer configuring the SDK via the bundle instead of raw env vars (works with DotEnv and Symfony Secrets)? See the `open_telemetry.sdk` section in [docs/configuration.md](docs/configuration.md).
Verify the wiring:
## What Gets Traced
HTTP requests (with route templates), Console commands, HttpClient, Messenger, Scheduler, Mailer, Doctrine DBAL, Cache, and Twig — plus Monolog `trace_id`/`span_id` correlation and opt-in OTel log export. Each subsystem is individually toggleable. See **[docs/index.md](docs/index.md)** for the per-component span breakdown.
## Semantic Conventions
Audited against the current [OTel semantic conventions](https://opentelemetry.io/docs/specs/semconv/): every stable MUST/Required/Conditionally-Required rule is implemented, Recommended attributes are emitted wherever the data exists, and all deviations are deliberate and spec-permitted. See **[docs/semantic-conventions.md](docs/semantic-conventions.md)** for the conformance statement, deviations, and known limitations.
## Configuration
All options are optional — the bundle works out of the box. A minimal `config/packages/open_telemetry.yaml`:
See **[docs/configuration.md](docs/configuration.md)** for the full reference and environment variables.
## Manual Instrumentation
Inject `TracingInterface` for one-liner span creation:
Mock in tests with `$this->createStub(TracingInterface::class)` and have `trace()` invoke the callback directly.
## Metrics
Opt-in OpenTelemetry metrics — Messenger, Doctrine DBAL, HTTP server/client, and Mailer — alongside a `MeterRegistryInterface` for custom counters/histograms/gauges. See **[docs/metrics.md](docs/metrics.md)**.
## Doctor
`bin/console traceway:doctor` runs diagnostic checks against the bundle's wiring, SDK environment variables, and OTLP endpoint reachability — text or JSON, scriptable in CI. See **[docs/doctor.md](docs/doctor.md)** for flags, JSON envelope schema, and custom checks.
## Documentation
| | |
|---|---|
| [Configuration](docs/configuration.md) | Full config reference and environment variables |
| [Metrics](docs/metrics.md) | Instrument list, manual metrics, exemplars |
| [AWS X-Ray](docs/aws-xray.md) | Native `propagator` / `id_generator` keys |
| [Doctor](docs/doctor.md) | `traceway:doctor` flags, JSON output, custom checks |
| [Performance](docs/performance.md) | Overhead, sampling, exporter choice |
| [Upgrade from v1.x](UPGRADE-2.0.md) | Flat → nested config migration |
| [Changelog](CHANGELOG.md) | Release history |
## Contributing
See [CONTRIBUTING.md](CONTRIBUTING.md). Join the conversation on [Discord](https://discord.gg/9tPn2SB3).
## License
[MIT](LICENSE)
All versions of opentelemetry-symfony with dependencies
PHP Build Version
Package Version
Requires
php Version
>=8.1
open-telemetry/api Version ^1.9
open-telemetry/context Version ^1.5
open-telemetry/sdk Version ^1.14
open-telemetry/sem-conv Version ^1.38
symfony/config Version ^6.4 || ^7.0 || ^8.0
symfony/console Version ^6.4 || ^7.0 || ^8.0
symfony/dependency-injection Version ^6.4 || ^7.0 || ^8.0
symfony/event-dispatcher Version ^6.4 || ^7.0 || ^8.0
symfony/http-foundation Version ^6.4 || ^7.0 || ^8.0
symfony/http-kernel Version ^6.4 || ^7.0 || ^8.0
symfony/yaml Version ^6.4 || ^7.0 || ^8.0
open-telemetry/api Version ^1.9
open-telemetry/context Version ^1.5
open-telemetry/sdk Version ^1.14
open-telemetry/sem-conv Version ^1.38
symfony/config Version ^6.4 || ^7.0 || ^8.0
symfony/console Version ^6.4 || ^7.0 || ^8.0
symfony/dependency-injection Version ^6.4 || ^7.0 || ^8.0
symfony/event-dispatcher Version ^6.4 || ^7.0 || ^8.0
symfony/http-foundation Version ^6.4 || ^7.0 || ^8.0
symfony/http-kernel Version ^6.4 || ^7.0 || ^8.0
symfony/yaml Version ^6.4 || ^7.0 || ^8.0
The package traceway/opentelemetry-symfony contains the following files
Loading the files please wait ...