988e07ade555fea2cf0286746cba30541ce42211
processOwnerDetector calls os/user.Current(), which fails in non-cgo builds when the running UID has no /etc/passwd entry and $USER is unset (common on hardened/distroless containers). It returns a plain error, not ErrPartialResource, so the previous gate let the error escape and SetupSDK aborted process startup. Resource detection is documented as best-effort; downgrade any detector error to a warning and fall back to an empty resource if the SDK returns nil. The signature is preserved.
Common library for the NTP Pool project with shared infrastructure components.
Packages
- apitls - TLS setup for NTP Pool internal services with embedded CA
- config - NTP Pool project configuration with environment variables
- ekko - Enhanced Echo web framework with observability middleware
- health - Standalone health check HTTP server
- kafka - Kafka client wrapper with TLS support
- logger - Structured logging with OpenTelemetry integration
- metricsserver - Prometheus metrics HTTP server
- timeutil - JSON-serializable duration types
- tracing - OpenTelemetry distributed tracing setup
- types - Shared data structures for NTP Pool
- ulid - Thread-safe ULID generation
- version - Build metadata and version information
- xff/fastlyxff - Fastly CDN IP range management
Description
Languages
Go
99.3%
Shell
0.6%