Skip to content
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

Fix tag extraction from resource attributes #68

Merged
merged 2 commits into from
May 9, 2024
Merged

Fix tag extraction from resource attributes #68

merged 2 commits into from
May 9, 2024

Conversation

frigus02
Copy link
Owner

@frigus02 frigus02 commented May 8, 2024

Fixes #67

Change how the tags ai.cloud.role, ai.cloud.roleInstance, ai.application.ver and ai.internal.sdkVersion are extracted:

  • Spans no longer extract them from span attributes. They still extract them from resource attributes. And they newly extract them also from instrumentation library attributes.
  • Events newly extract them from resource and instrumentation library attributes.

In addition metrics no longer extract the tag ai.user.authUserId from the enduser.id attribute.

Change how the tags ai.cloud.role, ai.cloud.roleInstance,
ai.application.ver and ai.internal.sdkVersion are extracted:

- Spans no longer extract them from span attributes. They still extract
  them from resource attributes. And they newly extract them also from
  instrumentation library attributes.
- Events newly extract them from resource and instrumentation library
  attributes.

In addition metrics no longer extract the tag ai.user.authUserId from
the enduser.id attribute.
@frigus02 frigus02 merged commit f97639c into main May 9, 2024
1 check passed
@frigus02 frigus02 deleted the event-tags branch May 9, 2024 14:52
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.

Resource attributes in events
1 participant