lfg/yii2-datadog-target

Datadog Log Target

0.1 2016-09-07 11:44 UTC

This package is auto-updated.

Last update: 2024-04-06 18:44:05 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