Download the PHP package instrumental/instrumental_agent without Composer
On this page you can find all versions of the php package instrumental/instrumental_agent. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download instrumental/instrumental_agent
More information about instrumental/instrumental_agent
Files in instrumental/instrumental_agent
Package instrumental_agent
Short Description This agent supports Instrumental custom metric monitoring for PHP applications. It provides high-data reliability at high scale.
License MIT
Informations about the package instrumental_agent
Instrumental PHP Agent
Instrumental is a application monitoring platform built for developers who want a better understanding of their production software. Powerful tools, like the Instrumental Query Language, combined with an exploration-focused interface allow you to get real answers to complex questions, in real-time.
This agent supports custom metric monitoring for PHP applications. It provides high-data reliability at high scale.
Composer Installation
Visit instrumentalapp.com and create an account, then initialize the agent with your API key, found in the Docs section.
Usage
You'll probably want something like the above, using your project API token, only enabling the agent in production mode so you don't have development and production data writing to the same value. Or you can setup two projects, so that you can verify stats in one, and release them to production in another.
Now you can begin to use Instrumental to track your application.
Note: If it is unable to connect to the service, it will discard data after reaching a low memory threshold.
Want to track an event (like an application deploy, or downtime)? You can capture events that are instantaneous, or events that happen over a period of time.
Agent Control
Need to quickly disable the agent? Use $I->setEnabled(FALSE);
on initialization and you don't need to change any application code.
Symfony
For usage with Symfony applications, we recommend registering the agent as a Symfony service.
Troubleshooting & Help
We are here to help. Email us at [email protected].
Release Process
- Pull latest master
- Merge feature branch(es) into master
script/test
- Increment version in code
lib/Agent.php
- Update CHANGELOG.md
- Commit "Release version vX.Y.Z"
- Push to GitHub
- Tag version:
git tag 'vX.Y.Z' && git push --tags
(GitHub webhook will tell packagist and release a new version) - Verify update on https://packagist.org/packages/instrumental/instrumental_agent
- Refresh documentation on instrumentalapp.com
Version Policy
This library follows Semantic Versioning 2.0.0.