TraceStax Docs
Quick start
This guide gets you from zero to live job monitoring in under five minutes.
Before you begin
Section titled “Before you begin”You’ll need a TraceStax account — sign up free, no credit card required.
Once you’re in, create a project and copy your API key from the project settings page.
-
Install the SDK for your stack
Terminal window pip install tracestax-celeryTerminal window npm install @tracestax/bullmqTerminal window gem install tracestax-sidekiqTerminal window go get github.com/tracestax/tracestax-go -
Wrap your worker
from celery import Celeryfrom tracestax_celery import TraceStaxMonitorapp = Celery("tasks", broker="redis://localhost:6379/0")TraceStaxMonitor(app=app,api_key="ts_live_xxxxxxxxxxxx",).install()import { Queue, Worker } from "bullmq";import { TraceStaxPlugin } from "@tracestax/bullmq";const worker = new Worker("orders", processJob, { connection });TraceStaxPlugin.attach(worker, {apiKey: "ts_live_xxxxxxxxxxxx",});config/initializers/tracestax.rb TraceStax::Sidekiq.configure do |c|c.api_key = "ts_live_xxxxxxxxxxxx"end -
Deploy and verify
Run your worker as normal. Within 30 seconds you should see events flowing in the TraceStax dashboard.
If events aren’t appearing, check the troubleshooting guide.