traceloop-sdk/v0.0.2
·
11 commits
to main
since this release
v0.0.2 (2024-01-28)
Breaking:
LogPromptfunction is now splitted intoLogPrompt&LogCompletionfor the purpose of duration tracking and for a "cleaner" API- Merged
configanddtopackages into the main one (traceloop)
Enhancement:
- Call the sdk
Initializeas part ofNewClientmethod - 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_NAMEenvironment argument