Files
gh-greyhaven-ai-claude-code…/skills/observability-monitoring/examples/INDEX.md
2025-11-29 18:29:23 +08:00

49 lines
1.5 KiB
Markdown

# Observability Examples
Complete monitoring and logging examples for Grey Haven Cloudflare Workers applications.
## Available Examples
### [cloudflare-logging.md](cloudflare-logging.md)
Structured console logging for Cloudflare Workers.
- TypeScript logger implementation
- Log levels and context
- JSON structured logging
- Viewing logs in Cloudflare dashboard
### [wrangler-tail.md](wrangler-tail.md)
Real-time log streaming with wrangler tail.
- Streaming production logs
- Filtering by status, method, IP
- Exporting logs to files
- Common troubleshooting patterns
### [analytics-engine.md](analytics-engine.md)
Cloudflare Analytics Engine for custom events.
- Custom event tracking
- Analytics Engine API
- GraphQL queries for analytics
- Event aggregation patterns
### [health-checks.md](health-checks.md)
Health check endpoint implementations.
- Database health checks
- Redis health checks
- Multi-service health checks
- Cloudflare health check configuration
### [error-tracking.md](error-tracking.md)
Error handling and tracking patterns.
- Structured error logging
- Error context tracking
- Analytics Engine for error metrics
- Error rate monitoring
## Quick Reference
**Need logging?** → [cloudflare-logging.md](cloudflare-logging.md)
**Need real-time logs?** → [wrangler-tail.md](wrangler-tail.md)
**Need custom metrics?** → [analytics-engine.md](analytics-engine.md)
**Need health checks?** → [health-checks.md](health-checks.md)
**Need error tracking?** → [error-tracking.md](error-tracking.md)