20 Commits

Author SHA1 Message Date
6a3bc7bab3 feat(logger): add buffering exporter with TLS support for OTLP logs
Add buffering exporter to queue OTLP logs until tracing is configured.
Support TLS configuration for OpenTelemetry log export with client
certificate authentication. Improve logfmt formatting and tracing setup.
2025-07-27 16:36:18 -07:00
694f8ba1d3 Add comprehensive godoc documentation to all packages
- Add package-level documentation with usage examples and architecture details
- Document all public types, functions, and methods following godoc conventions
- Remove unused logger.Error type and NewError function
- Apply consistent documentation style across all packages

Packages updated:
- apitls: TLS certificate management with automatic renewal
- config: Environment-based configuration system
- config/depenv: Deployment environment handling
- ekko: Enhanced Echo web framework wrapper
- kafka: Kafka client wrapper with TLS support
- logger: Structured logging with OpenTelemetry integration
- tracing: OpenTelemetry distributed tracing setup
- types: Shared data structures for NTP Pool project
- xff/fastlyxff: Fastly CDN IP range management

All tests pass after documentation changes.
2025-06-19 23:52:03 -07:00
0996167865 modernize + gofumpt 2025-04-19 22:19:02 -07:00
f6d160a7f8 health: fix shutdown of health check server 2025-01-03 14:01:52 +01:00
ab94adb925 tracing: setup log provider 2024-11-09 10:19:16 +00:00
4367ef9c29 Add Fatalf to standard logger-ish 2024-10-12 11:11:50 -07:00
d6a77f4003 ekko: add gzip, move recover middleware to run early 2024-09-21 00:53:10 -07:00
8e898d9c59 tracing: refactor code, support more exporters with default environment configuration 2024-09-14 00:47:07 -07:00
9a86b2aaf5 tracing: semconv v1.26.0 2024-07-06 13:04:48 -07:00
bcf7232154 Update dependencies + otel schema 1.25 2024-06-08 00:14:42 -07:00
a458dcb226 tracing: add EndpointURL option 2024-03-16 10:40:43 -07:00
df2285d355 tracing: update semconv, better error checking 2024-01-19 22:59:29 -08:00
232a6f98df tracing: add minimal test 2024-01-19 22:48:14 -08:00
537ee53384 Minor dependency updates 2023-11-26 01:15:04 -08:00
0a92ad768e tracing: option to set endpoint without environment variables 2023-11-15 22:29:20 +08:00
62e28b71f1 tracing: option to use a GetClientCertificates function 2023-10-29 18:18:41 -07:00
a4447c97f6 tracing: support for shutting down the trace provider 2023-10-21 21:59:10 -07:00
7420ad12f4 Update dependencies 2023-10-21 21:49:51 -07:00
cf33a99566 tracing: tweak API 2023-10-14 04:20:29 -07:00
09f963b267 tracing: wip / test 2023-10-14 03:30:19 -07:00