keepsuit/laravel-opentelemetry — reverse-engineered prompt

Reverse engineered prompt

GitHub

Build me a Laravel package that adds OpenTelemetry to an app in a way that feels native and easy to turn on.

I want it to automatically capture the main things people care about for observability, like incoming web requests, outgoing HTTP calls, database queries, queued jobs, Redis, cache, events, views, console commands, and if possible Livewire and Scout too. It should support traces, metrics, and logs, let me export them to common backends like OTLP and Zipkin, and also have simple console or memory options for local testing. Please include sensible config and env settings for service name, resource attributes, propagators, user context, sampling, tail sampling for slow or failed traces, and adding the current trace id into log context.

Make it work well for normal Laravel apps and worker style processes, and give me a clean way to create manual traces when I need them. Please include tests and a README with install steps, config publishing, examples, and troubleshooting. You can check current Laravel and OpenTelemetry docs online if needed.

Want more depth? Deep Reverse