Skip to content
No description, website, or topics provided.
PHP
Branch: master
Clone or download
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
src Remove unused VERSION and NAME constants Aug 23, 2019
tests Mark integration test incomplete again since it does not launch on CI Aug 21, 2019
.gitignore Added doctrine/coding-standard to apply stricter coding standards acr… Aug 20, 2019
.phpunit-watcher.yml Part of CoreAgentManager and other misc changes Jun 28, 2019
.travis.yml Added Psalm to run static analysis on codebase Aug 20, 2019
CHANGELOG.md Added changelog for 0.1.1 Aug 22, 2019
DEVELOPMENT.md Updated documentation with new tools and formatting consistency Aug 20, 2019
README.md Added basic docs on using the base library Aug 21, 2019
TODO.md WIP CoreAgentManager Jun 17, 2019
composer.json Added Psalm to run static analysis on codebase Aug 20, 2019
composer.lock Added Psalm to run static analysis on codebase Aug 20, 2019
phpcs.xml.dist Added doctrine/coding-standard to apply stricter coding standards acr… Aug 20, 2019
phpunit.xml.dist Pass metadata with requests (#32) Aug 19, 2019
psalm.xml.dist

README.md

Scout PHP APM Agent

Email us at support@ScoutAPM.com to get on the beta invite list!

Monitor the performance of PHP apps with Scout's PHP APM Agent.

Detailed performance metrics and transaction traces are collected once the agent is installed and configured.

Requirements

PHP Versions: 7.1+

Quick Start

This package is the base library for the various framework-specific packages.

Laravel

To install the ScoutAPM Agent for a specific framework, use the specific package instead.

Using the base library directly

use Scoutapm\Agent;
use Scoutapm\Config;

$agent = Agent::fromConfig(Config::fromArray([
    'name' => 'Your application name',
    'key' => 'your scout key',
    'monitor' => true,
]));
// If the core agent is not already running, this will download and run it (from /tmp by default)
$agent->connect();

// Use $agent to record `webTransaction`, `backgroundTransaction`, `instrument` or `tagRequest` as necessary

// Nothing is sent to Scout until you call this - so call this at the end of your request
$agent->send();

Documentation

For full installation and troubleshooting documentation, visit our help site.

Support

Please contact us at support@ScoutAPM.com or create an issue in this repo.

You can’t perform that action at this time.