Adds Spring Session support (#1961)
* Adds Spring Session support * Changes following the review
This commit is contained in:
committed by
GitHub
parent
821bc3abd4
commit
4fcc7cc32e
@@ -507,6 +507,46 @@ Fully qualified name of the enclosing class `org.springframework.cloud.sleuth.in
|
||||
|method|Method name that got annotated with @Scheduled.
|
||||
|===
|
||||
|
||||
=== Session Create Span
|
||||
|
||||
> Span created when a new session has to be created.
|
||||
|
||||
**Span name** `session.create`.
|
||||
|
||||
Fully qualified name of the enclosing class `org.springframework.cloud.sleuth.instrument.session.SleuthSessionSpan`
|
||||
|
||||
=== Session Delete Span
|
||||
|
||||
> Span created when a session is deleted.
|
||||
|
||||
**Span name** `session.delete`.
|
||||
|
||||
Fully qualified name of the enclosing class `org.springframework.cloud.sleuth.instrument.session.SleuthSessionSpan`
|
||||
|
||||
=== Session Find Span
|
||||
|
||||
> Span created when a new session is searched for.
|
||||
|
||||
**Span name** `session.find`.
|
||||
|
||||
Fully qualified name of the enclosing class `org.springframework.cloud.sleuth.instrument.session.SleuthSessionSpan`
|
||||
|
||||
IMPORTANT: All tags and events must be prefixed with `session.` prefix!
|
||||
|
||||
.Tag Keys
|
||||
|===
|
||||
|Name | Description
|
||||
|session.index.name|
|
||||
|===
|
||||
|
||||
=== Session Save Span
|
||||
|
||||
> Span created when a new session is saved.
|
||||
|
||||
**Span name** `session.save`.
|
||||
|
||||
Fully qualified name of the enclosing class `org.springframework.cloud.sleuth.instrument.session.SleuthSessionSpan`
|
||||
|
||||
=== Task Execution Listener Span
|
||||
|
||||
> Span created within the lifecycle of a task.
|
||||
|
||||
@@ -714,3 +714,11 @@ Please check the <<appendix.adoc#appendix,appendix>> page under `spring.sleuth.j
|
||||
You can configure P6Spy manually using one of available configuration methods. For more information please refer to the http://p6spy.readthedocs.io/en/latest/configandusage.html[P6Spy Configuration Guide].
|
||||
|
||||
In order to disable this instrumentation set `spring.sleuth.jdbc.enabled` to `false`.
|
||||
|
||||
[[sleuth-session-integration]]
|
||||
== Spring Session
|
||||
|
||||
This feature is available for all tracer implementations.
|
||||
|
||||
We're instrumenting the `Session` repositories that wraps all operations in a span.
|
||||
In order to disable this instrumentation set `spring.sleuth.session.enabled` to `false`.
|
||||
|
||||
Reference in New Issue
Block a user