feat: Add observability with logging, metrics, and tracing
- Dominant language
- Go
- Stars
- 0
- Forks
- 0
- PR merge metrics
- No merged PRs in 30d
Description
## Description
Implement comprehensive observability features including structured logging, Prometheus metrics, and OpenTelemetry tracing.
## Acceptance Criteria
- [ ] Structured logging with slog
- [ ] Prometheus metrics for HTTP requests and tool executions
- [ ] OpenTelemetry tracing with multiple exporters
- [ ] Configurable log levels and formats
- [ ] Metrics endpoint for monitoring
## Technical Details
- Use slog for structured logging
- Implement Prometheus metrics with standard labels
- Add OpenTelemetry with OTLP, Jaeger, and Zipkin exporters
- Create middleware for automatic instrumentation
Contributor guide
Research direction
No files, tests, or existing entry points are named. Start by locating the HTTP and tool-execution middleware, then map where logging, metrics, and tracing configuration belong. Done means the listed logging, Prometheus, OpenTelemetry, exporter, configuration, and metrics-endpoint criteria are implemented.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- go, prometheus
- Domain
- backend, observability
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 25/100