The Mosaic Telemetry monorepo (API + Web) is now operational. The telemetry agent is documenting the API contract, endpoints, auth, and data schema on the server side.
This issue covers the JS client SDK documentation.
Quick start example — instrumenting a Node.js service
SDK API Reference
All exported classes and methods
Configuration interface/types
Event types and payload schemas
Error handling behavior
Examples
Basic event tracking
Custom metadata/tags
Batch vs real-time mode
Environment-specific configuration (dev vs prod)
Dependency
This documentation should be written against the API contract documented in mosaic/telemetry. Coordinate with the telemetry monorepo docs for the authoritative endpoint specs, auth requirements, and data schema.
Acceptance Criteria
README.md updated with clear quick start
Full API reference in docs/ or README
At least 2 integration examples (Next.js + Node.js)
Documents which telemetry API version this SDK targets
## Context
The Mosaic Telemetry monorepo (API + Web) is now operational. The telemetry agent is documenting the API contract, endpoints, auth, and data schema on the server side.
This issue covers the JS client SDK documentation.
## Scope
### Integration Guide
- Installation and setup (npm install)
- Configuration options (API URL, auth token, batch settings, retry behavior)
- Quick start example — instrumenting a Next.js app
- Quick start example — instrumenting a Node.js service
### SDK API Reference
- All exported classes and methods
- Configuration interface/types
- Event types and payload schemas
- Error handling behavior
### Examples
- Basic event tracking
- Custom metadata/tags
- Batch vs real-time mode
- Environment-specific configuration (dev vs prod)
## Dependency
This documentation should be written against the API contract documented in mosaic/telemetry. Coordinate with the telemetry monorepo docs for the authoritative endpoint specs, auth requirements, and data schema.
## Acceptance Criteria
- [ ] README.md updated with clear quick start
- [ ] Full API reference in docs/ or README
- [ ] At least 2 integration examples (Next.js + Node.js)
- [ ] Documents which telemetry API version this SDK targets
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Context
The Mosaic Telemetry monorepo (API + Web) is now operational. The telemetry agent is documenting the API contract, endpoints, auth, and data schema on the server side.
This issue covers the JS client SDK documentation.
Scope
Integration Guide
SDK API Reference
Examples
Dependency
This documentation should be written against the API contract documented in mosaic/telemetry. Coordinate with the telemetry monorepo docs for the authoritative endpoint specs, auth requirements, and data schema.
Acceptance Criteria