cyberclick-os/apm-symfony-console

Elastic APM for Symfony Console

Installs: 4 387

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 0

Forks: 2

pkg:composer/cyberclick-os/apm-symfony-console

0.1.18 2023-12-12 15:27 UTC

This package is auto-updated.

Last update: 2025-10-12 19:24:34 UTC


README

This library supports Span traces of Symfony Console commands.

Installation

  1. Install via composer

    composer require pccomponentes/apm-symfony-console

Usage

In all cases, an already created instance of ElasticApmTracer is assumed.

Service Container (Symfony)

PcComponentes\ElasticAPM\Symfony\Component\Console\EventSubscriber:
  class: PcComponentes\ElasticAPM\Symfony\Component\Console\EventSubscriber
  autoconfigure: true
  arguments:
    $elasticApmTracer: '@apm.tracer' # \ZoiloMora\ElasticAPM\ElasticApmTracer instance.

License

Licensed under the MIT license

Read LICENSE for more information