Skip to content

traceloop-sdk/v0.0.2

Compare
Choose a tag to compare
@galkleinman galkleinman released this 28 Jan 08:26
· 2 commits to main since this release
8dda467

v0.0.2 (2024-01-28)

Breaking:

  • LogPrompt function is now splitted into LogPrompt & LogCompletion for the purpose of duration tracking and for a "cleaner" API
  • Merged config and dto packages into the main one (traceloop)

Enhancement:

  • Call the sdk Initialize as part of NewClient method
  • Support the configuration of different OTLP endpoint (both gRPC & http)
  • Support passing headers to OTLP exporter
  • Support configuration of Tracer name

Fix:

  • Avoid panic on errors
  • Avoid using redundant pointers to interfaces
  • Fix resource name assignment and support providing it through OTEL_SERVICE_NAME environment argument