Download the PHP package jamesmills/laravel-datadog without Composer
On this page you can find all versions of the php package jamesmills/laravel-datadog. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download jamesmills/laravel-datadog
More information about jamesmills/laravel-datadog
Files in jamesmills/laravel-datadog
Package laravel-datadog
Short Description A simple package to wrap DataDog API for Timeseries metrics
License MIT
Informations about the package laravel-datadog
Laravel DataDog
A simple package to use DataDog Series Metric using their API via TCP
Why?
Because some people cannot install the DataDog Agent or StatsD. So we have to use DataDog API to send data. Using the API losses the advantage of using UDP (unblocking) calls. This package gives you a nice way to send metric information and also make sure the jobs are queued.
Other packages
This package should only be used if you also find yourslef in the unique situation where you cannot use the DataDog Agent. Make sure you investigate the below packages first.
Installation
Pull in the package using Composer
Publish the config file
Set your DataDog API key in your .env
file using the key DATADOG_KEY
.
How to use
Increment a Metric
Increment a Metric with tagging and Host
A powerful feature of DataDog is the ability to tag things.
You can also send a custom host if you require.
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 [email protected] instead of using the issue tracker.
Treeware
You're free to use this package, but if it makes it to your production environment I would highly appreciate you buying the world a tree.
It’s now common knowledge that one of the best tools to tackle the climate crisis and keep our temperatures from rising above 1.5C is to plant trees. If you contribute to my forest you’ll be creating employment for local families and restoring wildlife habitats.
You can buy trees at my forest here offset.earth/jamesmills
Credits
- James Mills
- All Contributors
License
The MIT License (MIT). Please see License File for more information.