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-10-11 14:38:45 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()
    )
);