Class CollectorLogQueryClient
java.lang.Object
codes.grow.packages.otelcollector.CollectorLogQueryClient
- All Implemented Interfaces:
LogQueryClient
LogQueryClient of the collector: the collector stores nothing and has no query API, so
every method throws UnsupportedException. Read logs from the backend it exports to.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionsearch(String query, SearchOptions options) Always throws.waitForLog(String query, WaitForLogOptions 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.logging.LogQueryClient
listLabels, listLabelsAsync, listStreams, listStreamsAsync, search, searchAsync, tail, waitForLog, waitForLogAsync
-
Constructor Details
-
CollectorLogQueryClient
public CollectorLogQueryClient()Creates the client.
-
-
Method Details
-
search
Always throws.- Specified by:
searchin interfaceLogQueryClient- Parameters:
query- ignoredoptions- ignored- Returns:
- never
- Throws:
UnsupportedException- always
-
waitForLog
Always throws.- Specified by:
waitForLogin interfaceLogQueryClient- Parameters:
query- ignoredoptions- ignored- Returns:
- never
- Throws:
UnsupportedException- always
-