traceloop-sdk/v0.0.2
galkleinman
released this
28 Jan 08:26
·
2 commits
to main
since this release
v0.0.2 (2024-01-28)
Breaking:
LogPrompt
function is now splitted intoLogPrompt
&LogCompletion
for the purpose of duration tracking and for a "cleaner" API- Merged
config
anddto
packages into the main one (traceloop
)
Enhancement:
- Call the sdk
Initialize
as part ofNewClient
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