Commit Graph
10 Commits
Author SHA1 Message Date
M.ShakhmatovandClaude Fable 5.2 8837e8d316 Deprecate v1.0.0 HTTP and log helpers in favour of the toolkit API
CI / test (push) Successful in 1m12s
LogHandler and HTTPTransport now delegate to NewTraceHandler and
NewHTTPTransport. HTTPMiddleware keeps its v1.0.0 metric names but
shares responseWriter and normalizeMethod with NewHTTPMiddleware.
The package example shows obsx.New.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-15 16:43:33 +03:00
M.ShakhmatovandClaude Opus 5.5 b53a6a6c30 Update documentation for the observability toolkit
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-15 16:40:52 +03:00
M.ShakhmatovandClaude Opus 5.5 2bd9def584 Add Grafana dashboard and Prometheus alerts
Shared monitoring for any obsx service, built on the uniform built-in
metric names.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-15 16:40:05 +03:00
M.ShakhmatovandClaude Opus 5.5 be4330a9ee Add Observer as a single entry point
obsx.New wires logger, tracer provider, metrics, health checks and the
admin server (/metrics, /healthz, /readyz, /buildinfo, /loglevel,
pprof). Adds Track for arbitrary operations, Config.WithEnv overrides,
godoc examples and a runnable example service.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-15 16:40:05 +03:00
M.ShakhmatovandClaude Opus 5.5 8398e81bc7 Add HTTP and gRPC instrumentation
HTTP server middleware, HTTP client transport and gRPC server/client
interceptors (unary and stream) providing spans, context propagation,
RED metrics with uniform names and access logs. Labels are kept
low-cardinality (route templates, normalized methods).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-15 16:39:38 +03:00
M.ShakhmatovandClaude Opus 5.5 c710afb127 Add liveness and readiness health checks
Concurrent checks with per-check timeouts and panic recovery, HTTP
handlers, grpc.health.v1 server, SetReady for graceful shutdown and
the health_check_status metric.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-15 16:39:08 +03:00
M.ShakhmatovandClaude Opus 5.5 598ee0536d Add slog logger with trace correlation
NewLogger builds a JSON/text slog logger with a runtime-adjustable
level; TraceHandler adds trace_id and span_id from the context.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-15 16:39:08 +03:00
M.ShakhmatovandClaude Opus 5.5 022db31878 Extend tracing and metrics
Tracing: OTLP gRPC/HTTP exporters with TLS and headers, parent-based
sampling, W3C TraceContext/Baggage propagation, richer resource
attributes, no-export mode without an endpoint, Disabled flag, and
Trace/RecordError/TraceID helpers.

Metrics: idempotent registration, Sub, GaugeFunc, CounterFunc,
RegisterDBStats, OpenMetrics handler with trace exemplars.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-15 16:39:08 +03:00
devandClaude Opus 4.6 362267470e Add CI/publish workflows, tracer tests, fix Go version in CLAUDE.md
CI / test (push) Successful in 54s
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-23 14:35:20 +03:00
dev 84413772df Add obsx library 2026-03-23 01:16:18 +03:00