Class CollectorTraceQueryClient
java.lang.Object
codes.grow.packages.otelcollector.CollectorTraceQueryClient
- All Implemented Interfaces:
TraceQueryClient
TraceQueryClient of the collector: the collector stores nothing and has no query API, so
every method throws UnsupportedException. Read traces from the backend it exports to.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetDependencies(Instant start, Instant end) Always throws.Always throws.listOperations(String service) Always throws.Always throws.searchTraces(TraceSearchQuery query) Always throws.waitForTrace(String traceId, WaitForTraceOptions options) Always throws.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface codes.grow.packages.otelcollector.tracing.query.TraceQueryClient
acceptsNativeIds, getDependenciesAsync, getTraceAsync, listOperationsAsync, listServicesAsync, searchTracesAsync, waitForTrace, waitForTraceAsync
-
Constructor Details
-
CollectorTraceQueryClient
public CollectorTraceQueryClient()Creates the client.
-
-
Method Details
-
getTrace
Always throws.- Specified by:
getTracein interfaceTraceQueryClient- Parameters:
traceId- ignored- Returns:
- never
- Throws:
UnsupportedException- always
-
searchTraces
Always throws.- Specified by:
searchTracesin interfaceTraceQueryClient- Parameters:
query- ignored- Returns:
- never
- Throws:
UnsupportedException- always
-
listServices
Always throws.- Specified by:
listServicesin interfaceTraceQueryClient- Returns:
- never
- Throws:
UnsupportedException- always
-
listOperations
Always throws.- Specified by:
listOperationsin interfaceTraceQueryClient- Parameters:
service- ignored- Returns:
- never
- Throws:
UnsupportedException- always
-
getDependencies
Always throws.- Specified by:
getDependenciesin interfaceTraceQueryClient- Parameters:
start- ignoredend- ignored- Returns:
- never
- Throws:
UnsupportedException- always
-
waitForTrace
Always throws.- Specified by:
waitForTracein interfaceTraceQueryClient- Parameters:
traceId- ignoredoptions- ignored- Returns:
- never
- Throws:
UnsupportedException- always
-