Install an SDK
Install the BugWatch library for your server or web stack. Each page below is the full guide for one library: installation, initialisation, configuration, framework integration, symbolication and troubleshooting. The wire contracts each library speaks are documented under Server Ingest API, Browser Ingest, Source Maps & Symbols and OpenTelemetry, Prometheus & Tracing.
| Platform | Package | Registry |
|---|---|---|
| JavaScript / TypeScript (Node, browser, edge) | @newinstance/bugwatch | npm |
| PHP / Laravel | newinstance/bugwatch-php | Packagist |
| CLI (symbols, artifacts, deploys) | @newinstance/bugwatch-cli | npm |
| OpenTelemetry Collector | config for otel/opentelemetry-collector-contrib | Docker Hub |
Building a mobile app? Android, iOS & macOS, React Native and Flutter have their own dedicated section with full installation, configuration and symbolication guides - see Mobile.
No SDK for your language? Python, Go, Ruby, Java, C#, Rust and anything else integrate directly against the REST wire API - see the last sub-folder. The ingest format is plain NDJSON over HTTPS, so a direct integration is ~20 lines.