@Service public class TraceService extends Object
| Modifier and Type | Field and Description |
|---|---|
private org.bithon.server.tracing.storage.ITraceReader |
traceReader |
| Constructor and Description |
|---|
TraceService(org.bithon.server.tracing.storage.ITraceStorage traceStorage) |
| Modifier and Type | Method and Description |
|---|---|
TraceMap |
buildMap(List<org.bithon.server.tracing.sink.TraceSpan> spans) |
List<org.bithon.server.tracing.sink.TraceSpan> |
getTraceByParentSpanId(String parentSpanId) |
List<org.bithon.server.tracing.sink.TraceSpan> |
getTraceByTraceId(String txId,
String type,
boolean asTree) |
List<org.bithon.server.tracing.sink.TraceSpan> |
getTraceList(String appName,
int pageNumber,
int pageSize) |
int |
getTraceListSize(String appName) |
public TraceService(org.bithon.server.tracing.storage.ITraceStorage traceStorage)
public List<org.bithon.server.tracing.sink.TraceSpan> getTraceByParentSpanId(String parentSpanId)
public List<org.bithon.server.tracing.sink.TraceSpan> getTraceByTraceId(String txId, String type, boolean asTree)
public int getTraceListSize(String appName)
Copyright © 2020–2021. All rights reserved.