Skip to Content
Xeonr Developer Docs

Home

Lantern stores the traces, logs and metrics of your organisation's services, clusters, apps and devices, sent as OpenTelemetry, and lets you search, chart, alert on and probe them.

Lantern is an observability platform built on OpenTelemetry. Everything it stores arrives as OTLP: traces and logs go to ClickHouse, metrics to VictoriaMetrics. You read them back in the console, through the API, or from the lntrn CLI. It also runs monitors, synthetic checks and status pages over that data.

Your organisation

Everything in Lantern belongs to an organisation, and each organisation's data is isolated from every other's. Your organisation has:

  • a console at https://<org>.lntrn.dev, where <org> is its slug. https://lntrn.dev asks for your email address and sends you to the organisations you can sign in to;
  • its own identity provider. You sign in through your organisation's own single sign-on, and your role in Lantern (viewer, editor or admin) is your organisation's to give;
  • its own credentials for sending. Whatever a credential admits is filed under the organisation that issued it, whatever the sender claims.

Every page here uses <org> for your organisation's slug.

Two ways in

You are sending fromSend toWithRead
Servers, workers, CLIs and Kubernetes clusters you runthe OTLP edge, https://otlp.lntrn.devan edge credential (HTTP Basic)Server telemetry
Apps and devices you ship, and web pagesthe client ingest, https://in.lntrn.deva client project: a device token, or a public-origin key for a browserDevices, Browsers and React

The difference is who holds the credential. A server you run can keep a secret, so it holds one. A device or a browser in someone else's hands cannot, so it gets a short-lived token or nothing at all, and the client project decides what it may write.

Already on OpenTelemetry?

Keep your SDK and add one Lantern package. Each add-on configures the stock OpenTelemetry SDK and exporters for its runtime: where to send, the credential or token, and the resource attributes Lantern groups by.

RuntimeAddRead
Gogit.prod.wtf/xeonr/lantern/otel/go: lntrn.Setup(ctx, …)Go
Node.js@lntrn/otel: node --import @lntrn/otel/registerNode.js
Browsers@lntrn/web/otel: exporters, a processor and instrumentationsBrowsers and React
JS devices, React Native@lntrn/device/otel: a device-token headers providerDevices

Without an add-on, the standard OTEL_* variables reach Lantern too.

On this page