pccomponentes/apm-predis

Elastic APM for Predis Client

0.1.3 2020-06-24 09:14 UTC

This package is auto-updated.

Last update: 2024-10-24 18:45:09 UTC


README

This library supports Span traces of Symfony HttpKernel requests.

Installation

  1. Install via composer

    composer require pccomponentes/apm-predis

Usage

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

Service Container (Symfony)

apm.predis_client:
    class: PcComponentes\ApmPredis\ApmPredis
    arguments: ['@service.cache.redis', '@apm.tracer', 'demo']

License

Licensed under the MIT license

Read LICENSE for more information