Skip to content

OpenObserve SDK

Grow Codes CI License

One API for OpenObserve in five languages: TypeScript, Rust, Go, Python and Java. Every package has the same functions, options, defaults, error codes and behaviour, tested against a real public.ecr.aws/zinclabs/openobserve:v1.1.2 in Docker.

Language Package Coverage
TypeScript @grow-codes/openobserve TypeScript coverage
Rust grow-openobserve Rust coverage
Go github.com/grow-codes-packages/openobserve/go Go coverage
Python grow-openobserve Python coverage
Java codes.grow.packages:openobserve Java coverage

What you get

  • Client with health, authenticated ping and server version (Client).
  • Configuration from code or GROW_OPENOBSERVE_* / vendor environment variables, immutable and validated (Configuration).
  • Retries with full-jitter backoff and Retry-After, connect/request/total timeouts and cancellation in every language.
  • Typed errors with one set of codes across languages (Error handling).
  • Redaction everywhere: credentials never appear in errors, logs, hooks or toString (Redaction).
  • Logging: batching log client, logger facade, redaction processor, framework adapters and log search (Logging).
  • Tracing: OpenTelemetry setup, span helpers, propagation, framework adapters and trace queries (Tracing).
  • OpenObserve API: log ingestion (_json, _multi, _bulk, OTLP), SQL search with microsecond ranges, _around, _values, histograms and a polling tail (Ingest, Search and tail); stream schema and settings (Streams); OTLP tracing setup and trace queries (Traces); organizations and service accounts (Admin).

Start with Install and the Quickstart.

Independent project

This SDK is made by Grow Codes. OpenObserve is a trademark of ZincLabs, Inc. This project is not affiliated with or endorsed by ZincLabs, Inc. See License & disclaimer.