laravel-opentelemetry
OpenTelemetry integration for laravel
File Explorer
Download Latest Version (.zip)- fix-php-code-style-issues.yml
- phpstan.yml
- run-tests.yml
- update-changelog.yml
- copilot-instructions.md
- dependabot.yml
- opentelemetry.php
- Logger.php
- Meter.php
- OpenTelemetry.php
- Tracer.php
- GuzzleTraceMiddleware.php
- TraceRequestMiddleware.php
- HandlesHttpHeaders.php
- HandlesHttpQueryString.php
- TracedViewEngine.php
- InstrumentationUtilities.php
- CacheInstrumentation.php
- ConsoleInstrumentation.php
- EventInstrumentation.php
- HttpClientInstrumentation.php
- HttpServerInstrumentation.php
- Instrumentation.php
- LivewireInstrumentation.php
- QueryInstrumentation.php
- QueueInstrumentation.php
- RedisInstrumentation.php
- ScoutInstrumentation.php
- SpanTimeAdapter.php
- ViewInstrumentation.php
- CarbonClock.php
- NoopSpanExporter.php
- OpenTelemetryMonologHandler.php
- PropagatorBuilder.php
- ResourceAttributesParser.php
- ResourceBuilder.php
- SamplerBuilder.php
- SpanBuilder.php
- UserContextResolver.php
- ErrorsRule.php
- SlowTraceRule.php
- SamplingResult.php
- TailSamplingProcessor.php
- TailSamplingRuleInterface.php
- TraceBuffer.php
- OctaneWorkerModeDetector.php
- QueueWorkerModeDetector.php
- WorkerModeDetectorInterface.php
- WorkerModeManager.php
- InstrumentationServiceProvider.php
- LaravelOpenTelemetryServiceProvider.php
- Logger.php
- Meter.php
- OpenTelemetry.php
- Tracer.php
- .gitignore
- CacheInstrumentationTest.php
- ConsoleInstrumentationTest.php
- EventInstrumentationTest.php
- HttpClientInstrumentationTest.php
- HttpServerInstrumentationTest.php
- LivewireInstrumentationTest.php
- QueryInstrumentationTest.php
- QueueInstrumentationTest.php
- RedisInstrumentationTest.php
- ScoutInstrumentationTest.php
- ViewInstrumentationTest.php
- 0000_00_00_000000_create_products_table.php
- 0000_00_00_000000_create_users_table.php
- LivewireTestComponent.php
- Product.php
- RetryingTestJob.php
- SearchableProduct.php
- TestCommand.php
- TestEvent.php
- TestException.php
- TestJob.php
- TestSpanProcessor.php
- TestTailSamplingRule.php
- TailSamplingProcessorTest.php
- TraceBufferTest.php
- MeterCollectIntervalTest.php
- OctaneWorkerModeDetectorTest.php
- QueueWorkerModeDetectorTest.php
- OtelLoggerTest.php
- OtelMeterTest.php
- OtelTracerTest.php
- ServiceTest.php
- TracerTest.php
- simple.blade.php
- with-partials.blade.php
- Pest.php
- TestCase.php
- .editorconfig
- .gitattributes
- .gitignore
- CHANGELOG.md
- composer.json
- docker-compose.yml
- Dockerfile
- LICENSE.md
- makefile
- phpstan-baseline.neon
- phpstan.neon
- phpunit.xml.dist
- README.md
- UPGRADE.md
# Installation Guide
1. Get the code
git clone https://github.com/keepsuit/laravel-opentelemetry
Downloads the entire project code from GitHub to your computer.
cd laravel-opentelemetry
Moves into the project folder you just downloaded.
2. Docker
Easy RecommendedPrerequisites
- Git Needed to download the project code from GitHub.
- Docker Desktop Needed to build and run containers. Install it and keep it running in the background.
docker compose up -d --build
Builds and starts all defined containers (server, database, etc.) at once, in the background.
Run docker compose ps to check the containers are Up. If the README mentions a port, open http://localhost:PORT in your browser.
3. PHP (Composer)
EasyPrerequisites
composer require keepsuit/laravel-opentelemetry
Type this command into your terminal and run it.
composer test
Type this command into your terminal and run it.
Run it with a built-in server like php -S localhost:8000, then open http://localhost:8000 in your browser.
Pulled directly from this repo's README.
4. Make
MediumPrerequisites
- Git Needed to download the project code from GitHub.
- Make Usually pre-installed on Linux/macOS. On Windows, install separately (e.g. via MSYS2 or WSL).
make
Compiles the code based on the generated build configuration to produce an executable.
If it finishes without errors, it worked. Try running the generated executable directly.
// repository documentation
Was this content helpful?
(0 ratings)
