Skip to content

scout-apm-laravel with additional features such as sample rate and add response body to custom context

License

Notifications You must be signed in to change notification settings

mamitech/scout-apm-laravel-extended

Repository files navigation

scout-apm-laravel-extended

Latest Version on Packagist GitHub Tests Action Status GitHub Code Style Action Status Total Downloads

scout-apm-laravel with additional features such as sample rate and add response body to custom context

Installation

You can install the package via composer:

composer require mamitech/scout-apm-laravel-extended

Usage

Currently we haven't created proper config file yet. You can set these env parameters to use the features.

Sample Rate

SCOUT_SAMPLING_PER=10

This will set the tracing sampling rate to 1 in 10 chance (1/10)

Additional Custom Context

SCOUT_CUSTOM_CONTEXT_ENABLED=true

This will enable additional request body and query params to trace data.

Testing

composer test

License

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

About

scout-apm-laravel with additional features such as sample rate and add response body to custom context

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages