Commit Graph
4 Commits
Author SHA1 Message Date
argoyleandClaude Opus 5 f1551a5f47 fix: close idle OTLP connections before the collector does
otelsetup / test (push) Skipped
otelsetup / vulnerabilities (push) Skipped
pre-commit / pre-commit (push) Skipped
otelsetup / vulnerabilities (pull_request) Successful in 1m0s
otelsetup / test (pull_request) Successful in 1m21s
pre-commit / pre-commit (pull_request) Successful in 3m36s
Metrics are pushed every 60s and Alloy's OTLP receiver closes connections idle for 1m, while the exporters keep them for 90s. A push could reuse a connection the collector was closing and fail with EOF or connection reset; the data was dropped (no retry for a POST or for transport errors). In prod that was ~3 failed metric pushes per pod per hour, plus occasional trace batches.

Both exporters now use an HTTP client that closes idle connections after 30s. A custom client makes the exporters ignore the OTLP timeout and certificate env vars; none are set.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_014rfQ5HJ7zwfuYQcWXd3Mm3
2026-09-19 15:43:14 +02:00
argoyle 450cc99f41 chore: migrate module path to gitea.unbound.se
otelsetup / vulnerabilities (pull_request) Successful in 2m58s
otelsetup / test (pull_request) Successful in 3m20s
pre-commit / pre-commit (pull_request) Successful in 8m10s
Update module path from git.unbound.se to gitea.unbound.se for Go module
discovery over HTTPS.
2026-01-09 14:30:41 +01:00
argoyle da69271e82 refactor: update import paths to the new repository location
otelsetup / vulnerabilities (pull_request) Successful in 3m55s
otelsetup / test (pull_request) Successful in 4m2s
Change the import paths in CLAUDE.md and go.mod to reflect the
migration of the otelsetup module from GitLab to a new Git server.
Remove the build status and code coverage badges from README.md as
they are no longer applicable. Update configuration in
.pre-commit-config.yaml to match the new module path.
2026-01-09 09:27:06 +01:00
argoyle a0e1ad35b3 docs: add CLAUDE.md for Claude Code integration 2025-12-31 22:10:23 +01:00