Giter Site home page Giter Site logo

laravel-otel's Introduction

OpenTelemetry for Laravel

Latest Version on Packagist Total Downloads GitHub Actions

This package provides an OpenTelemetry integration for Laravel applications. It is based on the OpenTelemetry PHP project and provides instrumentation for a number of Laravel components.

Important Note

This package currently relies on a beta release of the OpenTelemetry PHP project.

We will keep the OpenTelemetry PHP dependency up-to-date as new releases are made available. However, we cannot guarantee that this package will work with future versions of OpenTelemetry PHP without breaking changes.

Watchers

This package is currently in development and contains the following Watchers:

  • Incoming HTTP Requests
  • HTTP Client Requests
  • Database Queries
  • Redis Commands
  • Queued Jobs
  • Events
  • Event Listeners
  • Cache Commands
  • View Rendering (Exploring Capabilities)
  • Exceptions
  • Log Messages
  • Scheduled Tasks

Requirements

  • PHP 8.2+
  • Laravel 10.0+

Installation

You can install the package via composer:

composer require plunkettscott/laravel-otel

Usage

  1. Install the package
composer require plunkettscott/laravel-otel
  1. Execute the otel:install command
php artisan otel:install
  1. Configure the methods in app/Providers/OtelServiceProvider.php to suit your needs

  2. Configure the watchers in config/otel.php to suit your needs. See the documentation for more information.

Testing

composer test

Changelog

Please see CHANGELOG for more information what has changed recently.

Contributing

Please see CONTRIBUTING for details.

Security

If you discover any security related issues, please email oss (at) scottplunkett.com instead of using the issue tracker.

Credits

License

The MIT License (MIT). Please see License File for more information.

laravel-otel's People

Contributors

anoxia avatar plunkettscott avatar roborg avatar spittal avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

laravel-otel's Issues

Deprecation notice in str_starts_with from trace middleware

Enabling the trace middleware on an unnamed route leads to the deprecation notice: str_starts_with(): Passing null to parameter #1 ($haystack) of type string is deprecated in ...\vendor\laravel\framework\src\Illuminate\Support\Str.php on line 1095"

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.