Commit Graph
10 Commits
Author SHA1 Message Date
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
Aleksey ShakhmatovandClaude 2c83b28342 Release v1.0.0: HTTP instrumentation, slog correlation, TLS by default
CI / test (push) Successful in 1m17s
Publish / publish (push) Successful in 1m24s
Add HTTPMiddleware, HTTPTransport and LogHandler; extend TracerConfig with
Insecure, Headers and Attributes; install W3C propagators; parent-based
sampling; end-to-end OTLP export tests; update dependencies (Go 1.26).

Breaking since v0.2.0: the OTLP connection uses TLS unless Insecure is set.

Co-Authored-By: Claude <noreply@anthropic.com>
v1.0.0
2026-11-10 20:20:09 +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