Skip to content

0.0.1-beta.4 - New Otel Initialization method

Choose a tag to compare

@statsig-kong statsig-kong released this 03 Nov 21:56
· 114 commits to main since this release
62cd98b

⚠️ Breaking Changes

  • Removed StatsigAIOptions, which previously included the enableDefaultOtel option. Use initializeTracing() instead to configure tracing.
  • Removed the sdkKey requirement from StatsigAttachConfig when creating StatsigAI instance.

New Features

  • Adds Statsig event logging for completion events
  • Adds higher order component to add StatsigUser to Statsig events and spans
  • Adds higher order component to add prompt names and version to spans and events

Improvements

  • Improves the way that OTel tracing is setup and initialized

Included In This Release

  • 436a710 “Kat
    • fix: skip release branch for pr title check
  • 2932e6a “Kat
    • chore: fix release
  • f64c745 kat-statsig
    • Merge pull request #44 from statsig-io/betas/0.0.1-beta.4
  • d933f01 statsig-kong[bot]
    • Bot: Updated File/s [package-lock.json]
  • 5a507ba statsig-kong[bot]
    • Bot: Updated File package.json
  • 25f7f11 “Kat
    • chore: fix release prefix
  • 3c2982a “Kat
    • revert: fix release
  • 5fb294e kat-statsig
    • Merge pull request #42 from statsig-io/update_release_action
  • a202d74 “Kat
    • chore: add beta branch to release
  • 2543d38 Scott Richardson
    • Merge pull request #40 from statsig-io/betas/0.0.1-beta.4
  • 815aa7e statsig-kong[bot]
    • Bot: Updated File package.json
  • 3a44cd3 kat-statsig
    • Merge pull request #39 from statsig-io/rm_sdk_key_from_attach_config
  • cdf2d85 “Kat
    • chore: rm sdk requirement on attach config
  • d6ea6cf Scott Richardson
    • [refac] remove legacy otel initialization options (#37)
  • 3a421f8 Scott Richardson
    • rename otel v2 to otel
  • f1cf7e9 Scott Richardson
    • remove legacy otel initialization options
  • 259ac9e kat-statsig
    • Merge pull request #36 from statsig-io/codex/add-logging-functionalities-to-openai-impl.ts
  • 91d9ade “Kat
    • update test
  • b81a5be “Kat
    • merge main & some edits
  • 7979c45 Scott Richardson
    • [rfc][tracing] add user, prompts, and statsig types to spans by using context (#28)
  • e566f12 Scott Richardson
    • [rfc][ai sdk][tracing] add way to add prompt and user attributes on spans
  • 0a9d9bf Scott Richardson
    • [rfc][ai-sdk][otel] add updated way to initiate otel for ai sdk (#26)
  • 827a1e5 Scott Richardson
    • [rfc][otel] add updated way to initiate otel for ai sdk
  • cc4dfde “Kat
    • refactor and add test
  • 289fc27 kat-statsig
    • Avoid caching Statsig shared instance for span logging
  • 992c34b kat-statsig
    • Merge pull request #34 from statsig-io/no_constructer_overload
  • ec8c424 “Kat
    • pull sdk key into base
  • df7ea84 kat-statsig
    • Remove shared proxy from StatsigAI class
  • 1f56f98 “Kat
    • update type
  • 6aab300 “Kat
    • chore: rm constructor overload

Full Changelog: 0.0.1-beta.3...0.0.1-beta.4