code-tool/jaeger-mongodb-collector

Jaeger mongodb time collectior

v1.2.1 2023-07-11 12:03 UTC

This package is auto-updated.

Last update: 2024-11-11 14:46:54 UTC


README

MongoDB's driver CommandSubscriber interface implementation for Jaeger

How to use

\MongoDB\Driver\Monitoring\addSubscriber(
    new \CodeTool\Jaeger\MongoDb\JaegerMongoDbQueryTimeCollector(
        $tracer,
        new \CodeTool\Jaeger\MongoDb\JaegerMongoDbCommandConvertor()
    )
);