Release v1.54.4
🚀 Enhancements
🔹 Kafka Span Links for Pub/Sub Tracing
GoFr now supports OpenTelemetry span links for Kafka, significantly improving observability in event-driven systems.
- Improved Traceability: Connects producer and consumer spans even in asynchronous messaging patterns, providing a complete picture of the request lifecycle.
- Enhanced Observability: Users can now visualize the relationship between messages, making it easier to debug complex microservices interactions.
- Semantic Conventions: Follows OpenTelemetry messaging semantic conventions for consistent spans and links.
🔹 Metrics Export for Cron Jobs
Introduced native support for exporting metrics for background tasks managed through Cron Jobs.
- Performance Monitoring: Automatically tracks execution duration and success/failure counts for scheduled tasks.
- Better Visibility: Allows developers to monitor the health and performance of background workers using the same telemetry stack as their HTTP services.
- Customizable: Leverages GoFr's internal metrics provider for seamless integration with Prometheus or other exporters.
🛠️ Fixes
🔹 HTTP Server Auto-detection
Resolved an issue where the HTTP server wouldn't start if only a static directory was auto-detected without any explicit route registration.
- Robust Static Hosting: Ensures that applications serving only static content boot correctly and serve assets as expected.
🔹 Reduced HTTP Shutdown Noise
Optimized the server shutdown sequence to eliminate unnecessary log noise and warnings during graceful termination.
- Cleaner Logs: Provides a more streamlined and less cluttered logging experience during application restarts and deployments.