Added opt in for SocketAddress Mongo spans; fixes gh-2050
This commit is contained in:
@@ -59,6 +59,7 @@
|
||||
|spring.sleuth.messaging.rabbit.enabled | `true` | Enable tracing of RabbitMQ.
|
||||
|spring.sleuth.messaging.rabbit.remote-service-name | `rabbitmq` | Rabbit remote service name.
|
||||
|spring.sleuth.mongodb.enabled | `true` | Enable tracing for MongoDb.
|
||||
|spring.sleuth.mongodb.socket-address-span-customizer.enabled | `false` | Enable setting of SocketAddress information on the Mongo span.
|
||||
|spring.sleuth.opentracing.enabled | `true` | Enables OpenTracing support.
|
||||
|spring.sleuth.propagation.type | | Tracing context propagation types.
|
||||
|spring.sleuth.quartz.enabled | `true` | Enable tracing for Quartz.
|
||||
|
||||
@@ -752,6 +752,16 @@ and set `spring.sleuth.jdbc.datasource-proxy.query.enable-logging` to `true` to
|
||||
|
||||
In order to disable this instrumentation set `spring.sleuth.jdbc.enabled` to `false`.
|
||||
|
||||
[[sleuth-mongodb-integration]]
|
||||
== MongoDB
|
||||
|
||||
This feature is available for all tracer implementations.
|
||||
|
||||
We're adding command listeners that wrap all commands in a span.
|
||||
If you want to have additional socket address related tags on the span set the `spring.sleuth.mongodb.socket-address-span-customizer.enabled` to `true`.
|
||||
|
||||
In order to disable this instrumentation set ``spring.sleuth.mongodb.enabled`` to `false`.
|
||||
|
||||
[[sleuth-session-integration]]
|
||||
== Spring Session
|
||||
|
||||
|
||||
Reference in New Issue
Block a user