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

Use ResourceAttributes instead of GlobalAttributes #11515

Merged
merged 2 commits into from
Feb 6, 2025

Conversation

bruno-de-queiroz
Copy link
Contributor

What does this PR do?

Fixes the custom attributes setup. The GlobalAttributes is marked as deprecated in favor of ResourceAttributes, but the backend.setup was still using the GlobalAttributes

Motivation

Users can't assign custom attributes to the span via ResourceAttributes, and the Helm chart no longer allows globalAttributes.

More

  • Added/updated tests
  • [-] Added/updated documentation

Additional Notes

The documentation is already correct, I think it was just a piece of code that was forgotten when the ResourceAttributes were introduced.

Sorry, something went wrong.

@bruno-de-queiroz
Copy link
Contributor Author

Also, please review this one: traefik/paerser#63, because currently, it's not possible to simply add --tracing.resourcesAttributes.service.environment=test as a flag

@kevinpollet kevinpollet changed the title fix(tracing): using ResourceAttributes instead of GlobalAttributes Use ResourceAttributes instead of GlobalAttributes Feb 6, 2025
Copy link
Member

@kevinpollet kevinpollet left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks 👍

Copy link
Member

@rtribotte rtribotte left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@traefiker
Copy link
Contributor

🚫 checks status: PR status: failure

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

Successfully merging this pull request may close these issues.

None yet

4 participants