Skip to content

Maple local with Laravel/php and docker #80

Description

@espensgr

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions