Accepts a OpenObserveConfig or plain options.
ReadonlyadminOrganizations, service accounts and passcode.
ReadonlyconfigThe immutable configuration.
ReadonlylogsLogs ingestion and search.
ReadonlystreamsStream management.
ReadonlytracesTrace queries on the config's tracesStream.
Flushes and closes every log client made by logClient, then releases connections. Idempotent.
Unauthenticated liveness: GET /healthz → {"status":"ok"}. Never throws for an unhealthy
or unreachable service (only CANCELLED and CONFIG).
initTracing with this client's connection settings (URL, org, credentials and
tracesStream); config.openobserve is ignored. Call shutdown() on the handle before exit.
The LogExporter used by logClient: json (_json ingestion, default) or
otlp (OTLP/JSON to /v1/logs) on a stream (default: the config's stream).
A LogQueryClient on a stream (default: the config's stream).
Authenticated round trip: GET /api/{org}/config. Returns the latency in milliseconds;
AuthenticationError on bad or missing credentials.
Server version from the authenticated GET /api/{org}/config (e.g. v1.1.2).
A TraceQueryClient on a traces stream (default: the config's tracesStream).
StaticfromBuilds a client from GROW_OPENOBSERVE_* / OPENOBSERVE_* environment variables.
Client for OpenObserve.