8000 GitHub - tracewayapp/traceway: The only tool you need to know what is happening and how to fix it. Β· GitHub
[go: up one dir, main page]

Skip to content
  • tracewayappPublic

    Latest commit

    Β 

    History

    1,333 Commits

    Folders and files

    NameName
    Last commit message
    Last commit date
    Β 
    Β 
    Β 
    Β 
    Β 
    Β 
    Β 
    Β 
    Β 
    Β 
    Β 
    Β 
    Β 
    Β 
    Β 
    Β 
    Β 
    Β 
    Β 
    Β 
    Β 
    Β 
    Β 
    Β 
    Β 
    Β 
    Β 
    Β 
    Β 
    Β 
    Β 
    Β 
    Β 
    Β 
    Β 
    Β 
    Β 
    Β 
    Β 
    Β 
    Β 
    Β 
    Β 
    Β 
    Β 
    Β 
    Β 
    Β 
    Β 
    Β 
    Β 
    Β 
    Β 
    Β 
    Β 
    Β 
    Β 
    Β 
    Β 
    Β 
    Β 
    Β 
    Β 
    Β 
    Β 
    Β 
    Β 
    Β 
    Β 
    Β 
    Β 
    Β 
    Β 
    Β 
    Β 
    Β 
    Β 
    Β 
    Β 
    Β 
    Β 
    Β 
    Β 
    Β 
    Β 
    Β 
    Β 
    Β 
    Β 
    Β 
    Β 
    Β 
    Β 
    Β 
    Β 
    Β 

    Repository files navigation

    Your next coffee is on us. Using Traceway, self-hosted or on Cloud? Tell us how it's going and we'll send you a coffee to say thanks. Until January 7, 2027.

    Traceway Logo

    Built on OpenTelemetry OpenTelemetry

    OpenTelemetry-native observability. Open source. Self-hosted in 90 seconds.

    OTel-First MIT License Self-Host Join us on Discord

    Website Β· Docs Β· Cloud Β· Discord


    Traceway is an OpenTelemetry-native observability platform. It combines logs, traces, metrics, real user monitoring (RUM) with session replay, exceptions, AI tracing, and on-call paging in one place. Point an OTLP exporter at it and you're in business. No Collector, no glue code, no per-language vendor SDK.

    MIT licensed. No BSL. No "open core." Every feature is in the box. Self-host it for free, or run it on Traceway Cloud if you'd rather not babysit infra.

    Traceway Issues Traceway Endpoints

    πŸ‘‹ Join the Traceway Community on Discord β†’
    Chat with the team, shape the roadmap, get help, and meet other folks running Traceway in production.

    What's in the box

    All of it. One MIT repo, no paid tier holding the good parts back.

    • Logs: trace-linked, sub-second search
    • Traces: one waterfall across every service
    • Span explorer: filter every span by any attribute
    • Endpoints: P50/P95/P99, Apdex, impact score
    • Metrics: host, runtime, custom
    • Dashboards: templates, Grafana import, embeddable
    • Exceptions: grouped into ranked issues
    • Symbolication: source maps, dSYM, R8, Dart
    • Mobile crashes: native crashes, ANRs, app hangs
    • Profiling (experimental): flame graphs, version diffs
    • RUM: Core Web Vitals from every visit
    • Release regressions: one alert when a release gets slower
    • Session replay: web, Flutter, iOS, Android
    • Visitor paths: the routes sessions take through your app, step by step
    • Remote SDK config: change what clients collect, no new build
    • AI tracing: OpenTelemetry GenAI and OpenInference support, with cost, tokens, and latency per model
    • AI conversations: chat replay with tool calls, per-user analytics
    • AI outlier finder: conversations above P95 cost or length
    • AI anomaly alerts: runaway cost per call or conversation, flagged content
    • Background jobs: every run, traced
    • Uptime monitors: HTTP, TCP, browser checks
    • Status pages: public, branded, on your domain
    • Incidents & post-mortems: public updates, internal write-ups
    • Alerts: Slack, email, webhook, GitHub, Telegram, Pushover
    • On-call: schedules, overrides, escalations, SMS
    • SLOs: error budgets, burn-rate alerts
    • Fleet overview: every server, every project, one page
    • Kubernetes: one kubectl apply per cluster
    • Agent skills, CLI, MCP: your agent debugs production
    • Auto-fix: error in, pull request out
    • AI SRE agent: answers error alerts and pages with tested pull requests
    • SSO: Google, GitHub, any OIDC provider
    • Self-hosting: one container, or ClickHouse at scale

    33 products. You were about to buy most of them separately. See what you stop paying for.

    Why Traceway

    • One system, not a stack to assemble. A trace links to its logs, an error to its session replay, an alert to the issue behind it. One data model, one login, one bill or none.
    • OpenTelemetry end to end. Backends export OTLP/HTTP straight to Traceway from any OTel SDK, with no Collector in between. Browser and mobile apps are OpenTelemetry too.
    • MIT, all of it. No enterprise edition, and no feature held back for a paid plan.
    • Starts as one container. Run a single image on a small server and move to ClickHouse and PostgreSQL when the volume asks for it.

    Some of these send an invoice. The rest cost you weekends. One MIT repo replaces all of them: self-host it for $0, or pay one bill on Traceway Cloud.

    You replace Because the box has
    Sentry Exceptions, symbolication, mobile crashes
    Datadog, New Relic, Dash0 Logs, traces, metrics, endpoints, automatic error detection (endpoints ranked by impact)
    ELK Stack, HyperDX, VictoriaMetrics, VictoriaLogs, VictoriaTraces Logs, traces and metrics, self-hosted in one container
    Grafana Cloud Dashboards
    SpeedCurve RUM, release regressions
    LogRocket, PostHog Session replay, visitor paths
    Langfuse AI tracing
    Pingdom, Uptime Kuma Uptime monitors
    Statuspage Status pages
    PagerDuty On-call
    incident.io Incidents & post-mortems
    Nobl9 SLOs
    Resolve AI, Traversal, Cleric, Datadog Bits AI SRE AI SRE agent, agent skills, CLI, MCP

    Self Hosted Quick Start

    docker run -d --name traceway \
      -p 80:80 \
      -v traceway-data:/data \
      -e JWT_SECRET="$(openssl rand -hex 32)" \
      -e DUCKDB_MEMORY_LIMIT="2GB" \
      ghcr.io/tracewayapp/traceway:duckdb

    Open http://localhost/register, create your account and a project, then point any OpenTelemetry SDK at it with the project token:

    OTEL_EXPORTER_OTLP_PROTOCOL=http/protobuf
    OTEL_EXPORTER_OTLP_ENDPOINT=http://localhost/api/otel
    OTEL_EXPORTER_OTLP_HEADERS="Authorization=Bearer <project_token>"

    That is the whole install: one prebuilt container with SQLite for accounts and settings and DuckDB for telemetry, no external databases. The images with ClickHouse and PostgreSQL, Docker Compose and production settings are in the self-hosting docs. Every image is signed with Cosign.

    Embedded mode (inside your Go app)

    Run Traceway inside your Go process. No Docker, no external databases, SQLite under the hood:

    go get github.com/tracewayapp/traceway/backend/v2
    import tracewaybackend "github.com/tracewayapp/traceway/backend/v2"
    
    func main() {
        go tracewaybackend.Run(
            tracewaybackend.WithPort(8082),
            tracewaybackend.WithDefaultUser("admin@localhost.com", "admin"),
            tracewaybackend.WithDefaultProject("My App", "opentelemetry", "dev-token"),
        )
    
        // ... start your app, point its OTel exporter to http://localhost:8082/api/otel/v1/traces
    }

    Open http://localhost:8082, log in, and hit your app to see traces appear. Full walkthrough in the embedded mode guide, or check the working example.

    Supported Integrations

    Traceway integrates with the tools you already use. Backends report over OTLP/HTTP, so any OpenTelemetry SDK works. Browser and mobile apps are OpenTelemetry too, through a custom Traceway SDK that adds remote capture balancing: what each client collects is tuned from the dashboard, without a new build.

    View the full list in the documentation. Missing a framework? Open an issue to request it.

    Backend

    OpenTelemetry is the integration path for every backend language. Point your OTLP exporter at Traceway and you are done.

    OpenTelemetry
    OpenTelemetry
    Node.js
    Node.js
    NestJS
    NestJS
    Next.js
    Next.js
    Hono
    Hono
    Cloudflare Workers
    Cloudflare
    Symfony
    Symfony
    Laravel
    Laravel
    Django
    Django
    Python
    Python
    Go
    Go
    Java
    Java
    C# / .NET
    C# / .NET
    Rust
    Rust
    Ruby
    Ruby
    PHP
    PHP
    Elixir / Erlang
    Elixir / Erlang
    C++
    C++

    Go applications use OpenTelemetry too. Point opentelemetry-go at the same OTLP endpoint. See the OpenTelemetry guide.

    Frontend

    Session Replay is included with every frontend integration, and with Flutter, iOS and Android too.

    A full-stack framework has two halves and two Traceway projects. Next.js and Remix use the React integration below for the browser, SvelteKit uses Svelte, and Nuxt uses Vue. Their server half is a separate OpenTelemetry project from the table above. See Project Structure.

    React
    React
    Vue
    Vue
    Svelte
    Svelte
    jQuery
    jQuery
    JavaScript
    JavaScript

    Mobile

    Flutter
    Flutter
    Android
    Android
    iOS
    iOS
    React Native
    React Native

    AI

    Traceway supports both OpenTelemetry GenAI and OpenInference over OTLP/HTTP. Model calls appear in AI Traces with the usage, cost, and conversation content your instrumentation supplies. OpenInference agent, retrieval, and tool steps appear alongside the model call in the span waterfall.

    OpenTelemetry GenAI
    OTel GenAI
    OpenInference
    OpenInference
    OpenRouter
    OpenRouter

    Screenshots

    Logs: chart any attribute, save any search
    Logs filtered to payments, with payment latency percentiles charted over time and a saved filter applied
    Spans: search and chart latency
    Span explorer with P50, P95 and P99 duration lines that step up after a deploy
    Spans: latency distribution
    Durations of a cache lookup on a log scale, with cache hits and misses as two humps
    Span waterfall
    Spans
    Metrics: application dashboard
    Metrics
    Exceptions: fingerprinted & ranked
    Exceptions

    Development

    Directory What it is
    backend/ Go 1.26 and Gin: OTLP ingest, REST API, notifications, migrations
    frontend/ SvelteKit 2 and Svelte 5 dashboard
    cli/ The traceway command line, built for agents
    skills/ Agent skills for Claude Code, Cursor, Codex and any SKILL.md-compatible agent
    examples/ Embedded mode, OTel-instrumented apps, Kubernetes manifests
    docs/ Documentation site
    website/ Landing page

    Storage is chosen at build time: SQLite by default, DuckDB for a columnar telemetry store in the same single binary, or ClickHouse and PostgreSQL for the standalone server.

    cd backend && go build ./cmd/traceway                                        # SQLite, no dependencies
    cd backend && CGO_ENABLED=1 go build -tags telemetry_duckdb ./cmd/traceway   # DuckDB telemetry
    cd backend && go build -tags "transactional_pg telemetry_ch" ./cmd/traceway  # ClickHouse + PostgreSQL
    
    cd backend && go test ./...                                                  # SQLite tests
    ./scripts/test-backend-pgch.sh                                               # ClickHouse + PostgreSQL tests, needs Docker

    The docker-compose*.yml files in this repo build the images from source, for working on Traceway itself. Build tags Β· Contributing guide Β· Local setup

    Documentation

    Full documentation at docs.tracewayapp.com:

    • Client SDKs: OpenTelemetry, Go, Node.js, Python, and more
    • Self-Hosting: Docker Compose and production deployment
    • Concepts: How tracing, exception fingerprinting, metrics, and alerts work
    • Real User Monitoring: Page speed, sessions, replay and errors from real visitors, plus best practices for setting up a frontend app
    • Embedded Mode: Run Traceway inside your Go app
    • Kubernetes: Instrument a whole cluster with the manifests in examples/kubernetes
    • Organization Overview: Servers, issues, monitors, and on-call pages across every project, one sidebar click apart
    • SLOs: Objectives, error budgets and burn-rate alerting over endpoints, spans, tasks, monitors, metrics and crash-free sessions

    Community

    Traceway is built in the open, and the Discord community is where it happens. Come say hi, whether you're kicking the tires, running it in production, or just curious. We use it to:

    • πŸ—£οΈ Talk through ideas: feature requests, integration asks, roadmap input
    • πŸ›Ÿ Help each other out: setup, OTel wiring, deployment questions
    • πŸš€ Show & tell: share what you're building and how you're using Traceway
    • πŸ› Catch bugs early: report issues and get fast feedback from maintainers
    • πŸ‘€ Get the inside scoop: sneak peeks at what's shipping next

    Join the Traceway Community on Discord

    Contribute

    Contributions are welcome. Pull requests get reviewed and merged. If you're not sure where to start or want to discuss an idea first, open an issue or drop by the community Discord and we'll talk it through.

    Links

    Releases

    Packages

    Contributors

    Languages

    0