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 Python client SDK documentation.
Quick start example — instrumenting a FastAPI service
Quick start example — instrumenting a generic Python app
SDK API Reference
All exported classes and methods
Configuration dataclass/model
Event types and payload schemas
Error handling behavior
Async vs sync usage patterns
Examples
Basic event tracking
Custom metadata/tags
Batch vs real-time mode
Context manager usage
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 (FastAPI + generic Python)
Documents async vs sync client usage
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 Python client SDK documentation.
## Scope
### Integration Guide
- Installation and setup (pip/uv install)
- Configuration options (API URL, auth token, batch settings, retry behavior)
- Quick start example — instrumenting a FastAPI service
- Quick start example — instrumenting a generic Python app
### SDK API Reference
- All exported classes and methods
- Configuration dataclass/model
- Event types and payload schemas
- Error handling behavior
- Async vs sync usage patterns
### Examples
- Basic event tracking
- Custom metadata/tags
- Batch vs real-time mode
- Context manager usage
- 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 (FastAPI + generic Python)
- [ ] Documents async vs sync client usage
- [ ] 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 Python 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