Accepts a SignozConfig or plain options.
ReadonlyconfigThe immutable configuration.
ReadonlylogsLogging-category query client (search, tail, streams, labels, waitForLog).
ReadonlyqueryQuery API (logs, spans, traces, services, aggregations, log fields).
Tracing-category query client (same object as query).
Flushes and closes log clients and tracing handles, then releases connections. Idempotent.
Any call on a closed client raises CancelledError ("client is closed").
Unauthenticated liveness: GET /api/v1/health?live=1 (also checks ClickHouse). Never throws
for an unhealthy or unreachable service (only CANCELLED and CONFIG).
Sets up tracing to the collector with this client's config (see initTracing); the handle is shut down by close.
Creates an OTLP log client for the collector (see createLogClient); it is flushed and
closed by close. CancelledError when the client is closed.
Authenticated round trip (GET /api/v1/fields/keys?signal=logs&limit=1 with
SIGNOZ-API-KEY). Returns the latency in milliseconds; AuthenticationError on a bad key.
Server version from GET /api/v1/version (leading v stripped). The official community image
reports an empty version → UnsupportedError.
StaticfromBuilds a client from GROW_SIGNOZ_* (and vendor) environment variables.
Client for SigNoz:
health(),ping(),serverVersion(), the query clients (SignozClient.query, SignozClient.logs, SignozClient.traces), OTLP log clients (SignozClient.logClient) and tracing (SignozClient.initTracing).close()flushes and closes every log client and tracing handle created through it.