Skip to main content
Tracelit dashboard spanning frontend sites and backend services Pick a path. Frontend = Sites. Backend = Services. Same workspace either way.
Environment is not optional. Wrong values get dropped or mis-tagged.Sites default to development if omitted. Services must set deployment.environment explicitly in the resource attributes.

Frontend

Same choice as in the Tracelit app when you add a site: I’m an engineer (paste code) or I’m a vibe coder (paste a prompt into your AI).
Install as an engineer — copy-paste snippetsInstall @tracelit/tracker (or the script tag), pass your site token, and always set environment to development or production.
HTML5Paste in <head> — no npm required:
Full guide: Script tag

Verify (frontend)

Open the site, click around, then check the Tracelit app:
  • Live visitor under the site
  • A new session in Sessions
  • Page views / clicks appearing

Backend

Same choice when you add a service in the app: I’m an engineer (recipe in code) or I’m a vibe coder (AI prompt).
Protocol must be http/protobuf. gRPC exporters will fail silently against Tracelit ingest.Set deployment.environment to exactly one of: local, development, production.
You still need your ingest key from the service’s Utilities → Environment. Export traces and logs — traces-only never passes the connection check.
Install as an engineer — OpenTelemetry in codePoint OpenTelemetry at Tracelit in code — no shell OTEL_* vars required for a quickstart.
Start with: NODE_OPTIONS="--require ./tracelit-otel.cjs" node server.jsFull guide: Node.js OpenTelemetry

Verify (backend)

Emit one INFO log and one ERROR log, then use Check connection in onboarding (or open Logs on the service). Continue only when both appear.

What’s next?