Skip to content

refactor(telemetry): update telemetry attributes and remove unused evaluation data #1189

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

beeme1mr
Copy link
Member

This PR

  • update the evaluation event to match the latest OTel semcon

Related Issues

Fixes #1188

Notes

Update the createEvaluationEvent to match the latest OpenTelemetry spec. Unforutnately, this is a breaking change. I'll denote this in the release notes but not in the library version. That's because we're following the experimental OTel spec and the method itself is currently undocumented except from the generated JS Doc.

It's also worth noting that OTel JS SDK event API doesn't currently support object as attribute values. @dyladan will update the OTel SDK.

Follow-up Tasks

Update the ToggleShop.

How to test

npm run test

@beeme1mr
Copy link
Member Author

Waiting for the OTel JS SDK to support this.

open-telemetry/opentelemetry-js#5707

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Update the OTel-Compatible Telemetry Util Function to latest spec
4 participants