public class HandlerParser extends Object
Note: This should not duplicate data. For example, this should not add the tag "http.url".
Tagging policy adopted from spring cloud sleuth 1.3.x
| Modifier and Type | Field and Description |
|---|---|
static String |
CONTROLLER_CLASS
Simple class name that processed the request.
|
static String |
CONTROLLER_METHOD
Method name that processed the request.
|
static HandlerParser |
NOOP
Adds no tags to the span representing the request.
|
| Constructor and Description |
|---|
HandlerParser() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
preHandle(javax.servlet.http.HttpServletRequest request,
Object handler,
SpanCustomizer customizer)
Invoked prior to request invocation during
HandlerInterceptor.preHandle(HttpServletRequest, HttpServletResponse, Object). |
public static final HandlerParser NOOP
public static final String CONTROLLER_CLASS
public static final String CONTROLLER_METHOD
protected void preHandle(javax.servlet.http.HttpServletRequest request,
Object handler,
SpanCustomizer customizer)
HandlerInterceptor.preHandle(HttpServletRequest, HttpServletResponse, Object).
Adds the tags CONTROLLER_CLASS and CONTROLLER_METHOD. Override or
use NOOP to change this behavior.
request - requesthandler - handlercustomizer - span customizerCopyright © 2021 Pivotal Software, Inc.. All rights reserved.