public class HttpTraceKeysInjector extends Object
| Constructor and Description |
|---|
HttpTraceKeysInjector(Tracer tracer,
TraceKeys traceKeys) |
| Modifier and Type | Method and Description |
|---|---|
void |
addRequestTags(Span span,
String url,
String host,
String path,
String method)
Adds tags from the HTTP request to the given Span
|
void |
addRequestTags(Span span,
URI uri,
String method)
Adds tags from the HTTP request to the given Span
|
void |
addRequestTags(String url,
String host,
String path,
String method)
Adds tags from the HTTP request to the current Span
|
void |
addRequestTags(String url,
String host,
String path,
String method,
Map<String,? extends Collection<String>> headers)
Adds tags from the HTTP request together with headers to the current Span
|
void |
tagSpan(Span span,
String key,
String value)
Add a tag to the given, exportable Span
|
public void addRequestTags(String url, String host, String path, String method)
public void addRequestTags(Span span, String url, String host, String path, String method)
public void addRequestTags(Span span, URI uri, String method)
public void addRequestTags(String url, String host, String path, String method, Map<String,? extends Collection<String>> headers)
Copyright © 2017 Pivotal Software, Inc.. All rights reserved.