lfg/yii2-datadog-target

Datadog Log Target

0.1 2016-09-07 11:44 UTC

This package is auto-updated.

Last update: 2024-11-06 20:04:46 UTC


README

INSTALL

composer require "lfg\yii2-datadog-target"

USAGE

Add new log target in application configuration:

    'log'           => [
        'targets'    => [
            'datadog' => [
                'class' => 'lfg\DatadogCounter',
                'levels' => ['error', 'warning'],
                'tags' => ['tag1', 'tag2'], // optional
                'metricPrefix' => 'front', // required
            ],
        ],
    ],

TODO

  • Send events to Datadog

LINKS