This is just a little info/setup test if people want to try this on a Laravel app.
I'm trying to test this on Laravel with the laravel-opentelemetry package, and running in docker with Laravel Sail.
To send data it needs OTEL_EXPORTER_OTLP_ENDPOINT="http://host.docker.internal:4318" to be able to connect to my os from outside the docker image, and OTEL_EXPORTER_OTLP_PROTOCOL="http/json" for some reason as the default is http/protobuf, but that only returns an error.
Maybe make a Laravel Instrumentation?
We use Craft CMS (based on Yii) for the most part, so i'm going to test that too at some point.
Both of these are PHP based, and Open telemetry has a guide for that as well, but both Laravel and some Yii packages does some auto hooks into their internal systems that is nice to have out of the box so they get translated correctly.
This is just a little info/setup test if people want to try this on a Laravel app.
I'm trying to test this on Laravel with the laravel-opentelemetry package, and running in docker with Laravel Sail.
To send data it needs
OTEL_EXPORTER_OTLP_ENDPOINT="http://host.docker.internal:4318"to be able to connect to my os from outside the docker image, andOTEL_EXPORTER_OTLP_PROTOCOL="http/json"for some reason as the default ishttp/protobuf, but that only returns an error.Maybe make a Laravel Instrumentation?
We use Craft CMS (based on Yii) for the most part, so i'm going to test that too at some point.
Both of these are PHP based, and Open telemetry has a guide for that as well, but both Laravel and some Yii packages does some auto hooks into their internal systems that is nice to have out of the box so they get translated correctly.