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

✨ Allow to pass custom tags #2310

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

maksimaderikha
Copy link

Motivation

The goal of this PR is to allow users to pass any custom tags along with the built-in ones. See the issue #462 for more details.

Changes

This PR adds optional customTags property to the configuration object, so that logger or rum may be configured to send additional tags. This is completely optional configuration option that will not impact existing configurations. The changes also do not allow overwriting the built-in tags.

Testing

  • Local
  • Staging
  • Unit
  • End to end

I have gone over the contributing documentation.

@maksimaderikha maksimaderikha requested a review from a team as a code owner June 27, 2023 15:13
@bits-bot
Copy link

bits-bot commented Jun 27, 2023

CLA assistant check
All committers have signed the CLA.

@amortemousque
Copy link
Contributor

amortemousque commented Jul 4, 2023

Hello @maksimaderikha,
Thanks for the PR. Link mentioned in #462, we are still thinking about merging the attributes and tags concepts in the future so we are not willing to introduce this kind of API for now. What about using a global context attribute instead of a tag?

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.

None yet

3 participants