https://github.com/nohponex/monolog-datadog-handler
Monolog Handler that uses DataDog
https://github.com/nohponex/monolog-datadog-handler
datadog monolog monolog-handler php psr-3
Last synced: 6 months ago
JSON representation
Monolog Handler that uses DataDog
- Host: GitHub
- URL: https://github.com/nohponex/monolog-datadog-handler
- Owner: nohponex
- License: mit
- Created: 2018-01-23T16:36:38.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2022-05-25T09:40:41.000Z (about 4 years ago)
- Last Synced: 2024-04-29T21:08:31.103Z (about 2 years ago)
- Topics: datadog, monolog, monolog-handler, php, psr-3
- Language: PHP
- Size: 7.81 KB
- Stars: 6
- Watchers: 2
- Forks: 1
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# monolog-datadog-handler
Monolog Handler that uses [Datadog](https://www.datadoghq.com/)
Implemented for TCP Submission to Datadog API using [datadog/php-datadogstatsd](https://github.com/DataDog/php-datadogstatsd)
## Installation
```
composer require nohponex/monolog-datadog-handler
```
## Basic Usage
```php
pushHandler(
new DataDogHandler(
'xxxx',
'yyy',
$tag,
\Monolog\Logger::INFO
)
);
```
## License
nohponex/monolog-datadog-handler is licensed under the MIT License - see the LICENSE file for details