Skip to content

v0.0.33

Choose a tag to compare

@tigerroll tigerroll released this 10 May 13:44
· 183 commits to main since this release
ed5246c

Release Notes

This release introduces the OpenTelemetry-based Observability Adapter, unifying metrics and tracing capabilities into a single, cohesive framework.

🚀 New Features

  • OpenTelemetry Observability Adapter:
    • A new adapter supporting both metrics and traces has been added, significantly enhancing application monitoring capabilities using the OpenTelemetry standard.
  • Distributed Tracing:
    • Introduced distributed tracing functionality, enabling detailed tracking and visualization of job and step execution.

🛠 Improvements

  • Unified Observability Configuration:
    • Metrics and tracing settings in application.yaml are now consolidated under the surfin.adapter.observability section, simplifying configuration management.
  • Directory Structure Refactoring:
    • Observability-related code has been reorganized under pkg/batch/adapter/observability to improve modularity and maintainability.
  • Development Environment Updates:
    • Updated compose.yaml to include OTel-related environment variables for the surfin service and replaced otel-collector with otel-front for better local debugging.

⚠️ Changes

  • Metrics Adapter Replacement:
    • Legacy metrics adapter files (under pkg/batch/adapter/metrics) have been removed and replaced by the new unified Observability Adapter implementation.
  • Optional Tracer in JobFactory:
    • The Tracer dependency in JobFactory is now optional; a No-Op implementation is automatically used if tracing is not enabled.
  • Interface Relocation:
    • The metrics.Tracer interface and its No-Op implementation moved from pkg/batch/core/metrics/tracer.go to pkg/batch/core/metrics/interfaces.go.
  • Dependency Updates:
    • Updated go.mod to include new OpenTelemetry tracing dependencies.