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-12-11 15:03:12 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()
    )
);