dragon-code/laravel-telemetry

End-to-end telemetry of inter-service communication

Installs: 0

Dependents: 0

Suggesters: 0

Security: 0

Stars: 3

Watchers: 0

Forks: 0

Open Issues: 0

pkg:composer/dragon-code/laravel-telemetry

1.0.1 2025-10-21 22:38 UTC

This package is auto-updated.

Last update: 2025-10-21 22:40:13 UTC


README

the dragon code laravel telemetry

Stable Version Total Downloads License

End-to-end telemetry of inter-service communication.

Installation

You can install the Laravel Telemetry package via Composer:

composer require dragon-code/laravel-telemetry

You can publish the config file with:

php artisan vendor:publish --tag="telemetry"

Basic Usage

Register the middleware:

use DragonCode\LaravelTracker\Http\Middleware\TelemetryMiddleware;
use Illuminate\Foundation\Configuration\Middleware;

->withMiddleware(function (Middleware $middleware): void {
     $middleware->prepend(TelemetryMiddleware::class);
})

That's all 🙂

How It Works

The middleware monitors telemetry headers in incoming requests and, when present, automatically injects them into the application context.

This makes it possible to build chains of inter-service requests with filtering by an identifier.

License

This package is licensed under the MIT License.