Implement comprehensive observability for Documenso integrations including metrics, logging, and distributed tracing.
// src/observability/metrics.ts
// src/observability/logger.ts
// src/observability/tracing.ts
// src/api/health.ts
groups:
{
For detailed implementation code and configurations, load the reference guide:
Read(${CLAUDE_SKILL_DIR}/references/implementation-guide.md)
| Observability Issue | Cause | Solution |
|---|---|---|
| Metrics not showing | Wrong scrape config | Check Prometheus config |
| Logs not appearing | Log level too high | Set LOG_LEVEL=debug |
| Traces missing | OTEL not initialized | Call initTracing() |
| High cardinality | Too many labels | Reduce label values |
For incident response, see documenso-incident-runbook.
Basic usage: Apply documenso observability to a standard project setup with default configuration options.
Advanced scenario: Customize documenso observability for production environments with multiple constraints and team-specific requirements.