lfg/yii2-datadog-target

Datadog Log Target

Maintainers

Package info

github.com/landau-fg/yii2-datadog-target

pkg:composer/lfg/yii2-datadog-target

Statistics

Installs: 24 754

Dependents: 0

Suggesters: 0

Stars: 0

Open Issues: 3

0.1 2016-09-07 11:44 UTC

This package is auto-updated.

Last update: 2026-03-06 23:13:40 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