https://github.com/opentelemetry-php/otel-roadrunner-example
roadrunner, otel, opentelemetry-php integration
https://github.com/opentelemetry-php/otel-roadrunner-example
Last synced: 12 months ago
JSON representation
roadrunner, otel, opentelemetry-php integration
- Host: GitHub
- URL: https://github.com/opentelemetry-php/otel-roadrunner-example
- Owner: opentelemetry-php
- License: mit
- Created: 2022-05-11T04:26:54.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2023-09-20T23:14:04.000Z (almost 3 years ago)
- Last Synced: 2025-04-08T05:45:05.019Z (over 1 year ago)
- Language: PHP
- Size: 10.7 KB
- Stars: 7
- Watchers: 1
- Forks: 4
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Opentelemetry + roadrunner example
Example of [roadrunner](roadrunner.dev)'s opentelemetry plugin integrating with [opentelemetry-php](https://github.com/open-telemetry/opentelemetry-php).
RoadRunner's otel middleware emits some spans, and also injects distributed trace headers into the request.
The PHP application then extracts those trace headers, so that its own traces can be correctly parented to the RR trace.
# usage
- `make all`
- `curl localhost`
- browse to [zipkin](http://localhost:9411/zipkin) and search for traces