public class BraveFinishedSpan extends Object implements org.springframework.cloud.sleuth.exporter.FinishedSpan
FinishedSpan.| Constructor and Description |
|---|
BraveFinishedSpan(brave.handler.MutableSpan mutableSpan) |
| Modifier and Type | Method and Description |
|---|---|
static org.springframework.cloud.sleuth.exporter.FinishedSpan |
fromBrave(brave.handler.MutableSpan mutableSpan) |
long |
getEndTimestamp() |
Throwable |
getError() |
Collection<Map.Entry<Long,String>> |
getEvents() |
org.springframework.cloud.sleuth.Span.Kind |
getKind() |
String |
getLocalIp() |
String |
getName() |
String |
getParentId() |
String |
getRemoteIp() |
int |
getRemotePort() |
String |
getRemoteServiceName() |
String |
getSpanId() |
long |
getStartTimestamp() |
Map<String,String> |
getTags() |
String |
getTraceId() |
static brave.handler.MutableSpan |
toBrave(org.springframework.cloud.sleuth.exporter.FinishedSpan mutableSpan) |
String |
toString() |
public BraveFinishedSpan(brave.handler.MutableSpan mutableSpan)
public String getName()
getName in interface org.springframework.cloud.sleuth.exporter.FinishedSpanpublic long getStartTimestamp()
getStartTimestamp in interface org.springframework.cloud.sleuth.exporter.FinishedSpanpublic long getEndTimestamp()
getEndTimestamp in interface org.springframework.cloud.sleuth.exporter.FinishedSpanpublic Map<String,String> getTags()
getTags in interface org.springframework.cloud.sleuth.exporter.FinishedSpanpublic Collection<Map.Entry<Long,String>> getEvents()
getEvents in interface org.springframework.cloud.sleuth.exporter.FinishedSpanpublic String getSpanId()
getSpanId in interface org.springframework.cloud.sleuth.exporter.FinishedSpanpublic String getParentId()
getParentId in interface org.springframework.cloud.sleuth.exporter.FinishedSpanpublic String getRemoteIp()
getRemoteIp in interface org.springframework.cloud.sleuth.exporter.FinishedSpanpublic String getLocalIp()
getLocalIp in interface org.springframework.cloud.sleuth.exporter.FinishedSpanpublic int getRemotePort()
getRemotePort in interface org.springframework.cloud.sleuth.exporter.FinishedSpanpublic String getTraceId()
getTraceId in interface org.springframework.cloud.sleuth.exporter.FinishedSpanpublic Throwable getError()
getError in interface org.springframework.cloud.sleuth.exporter.FinishedSpanpublic org.springframework.cloud.sleuth.Span.Kind getKind()
getKind in interface org.springframework.cloud.sleuth.exporter.FinishedSpanpublic String getRemoteServiceName()
getRemoteServiceName in interface org.springframework.cloud.sleuth.exporter.FinishedSpanpublic static org.springframework.cloud.sleuth.exporter.FinishedSpan fromBrave(brave.handler.MutableSpan mutableSpan)
public static brave.handler.MutableSpan toBrave(org.springframework.cloud.sleuth.exporter.FinishedSpan mutableSpan)
Copyright © 2021 Pivotal Software, Inc.. All rights reserved.