Skip to content

A basic example on using the OpenTelemetry-PHP Library within your Laravel Application

License

Notifications You must be signed in to change notification settings

prondubuisi/otel-php-laravel-basic-example

Repository files navigation

otel-php-laravel-basic-example

A basic example on using the OpenTelemetry-PHP Library within your Laravel Application

Installation

  1. Run
composer install
  1. Run
docker-compose up -d
  1. Create file for your configuration and environmental variables by coping contents of the .env.example file to a new .env file

  2. Generate encryption keys for application, by running

php artisan key:generate
  1. Run
php artisan serve
  1. App available at http://localhost:8000/hello
    Jaeger available at http://localhost:16686/search
    Zipkin available at http://localhost:9411/

About

A basic example on using the OpenTelemetry-PHP Library within your Laravel Application

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published