Update documentation for the observability toolkit
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
2bd9def584
commit
b53a6a6c30
7 files changed
+315
-198
No files matched your search
@@ -8,6 +8,10 @@
|
||||
- `Trace`, `RecordError`, `TraceID` helpers.
|
||||
- `Endpoint` accepts URLs (`https://collector:4318`).
|
||||
- Resource carries `service.instance.id` and host attributes.
|
||||
- `New` / `Observer` — one call wires logger, tracer, metrics, health checks and the admin server; `Config.WithEnv` applies `OBSX_*` overrides.
|
||||
- `NewLogger`, `NewTraceHandler`; `NewHealth` (liveness/readiness, HTTP and `grpc.health.v1`).
|
||||
- `NewHTTPMiddleware`, `NewHTTPTransport`, `NewGRPCInterceptors` — config-based instrumentation with fixed metric names (`http_server_*`, `http_client_*`, `grpc_*`). `HTTPMiddleware`, `HTTPTransport` and `LogHandler` are unchanged.
|
||||
- `deploy/` — Grafana dashboard and Prometheus alerts; `examples/service`.
|
||||
- Metrics: idempotent registration, `Sub`, `GaugeFunc`, `CounterFunc`, `RegisterDBStats`, OpenMetrics handler with trace exemplars.
|
||||
|
||||
### Changed
|
||||
|
||||
Reference in new issue
Block a user