Documentation

Adapters

Backend implementations of the portable OpenPlait datasource contract used by OpenLIT connectors.

Adapters

Adapters validate connection configuration, publish capabilities, compile semantic queries, execute bounded requests, and normalize results.

OpenLIT’s Connectors UI wraps these packages for Tempo, Loki, Prometheus, ClickHouse, and Jaeger.

PackageKindSignals and operationsIn OpenLIT CE
@openplait/adapter-clickhouseClickHouseDatasourceOTel traces, logs, metrics, aggregates, discovery, native SQLYes (Database Config)
@openplait/adapter-tempoTempoDatasourceTrace search, OTLP trace retrieval, tag discovery, TraceQLYes
@openplait/adapter-lokiLokiDatasourceLogQL streams, semantic log filters, label discoveryYes
@openplait/adapter-prometheusPrometheusDatasourcePromQL range queries, metric/label discoveryYes
@openplait/adapter-jaegerJaegerDatasourceService-scoped trace search, span events from logsYes

An adapter must be honest about its capabilities. The runtime checks the plan before execution so an unsupported join or transformation fails explicitly.

TypeScript packages are under typescript/packages. Python adapters live under python/src/openplait/adapters (ClickHouse scaffold first). See Getting started for side-by-side TypeScript / Python tabs.

const validation = adapter.validateConfig(config);
const capabilities = await adapter.getCapabilities(config);
const schema = await adapter.discoverSchema({});

Connection configuration is server-side input. Query resources only carry a datasource reference.

See OpenLIT product docs: Connectors and Signal routing.

To add these adapters to another app with Cursor, use the Agent Skills under .cursor/skills/.