Skip to content

Add user actions support #39141

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

Merged
merged 6 commits into from
Apr 3, 2025
Merged

Conversation

mar4uk
Copy link
Contributor

@mar4uk mar4uk commented Apr 3, 2025

Description

Adding support for user actions feature faro web SDK recently introduced grafana/faro-web-sdk#1033 (alpha version).
Plus small fixes like:

  • add more tests
  • use constants where they should be used

Testing

Added unit tests

@mar4uk mar4uk requested a review from a team as a code owner April 3, 2025 14:52
@mar4uk mar4uk requested a review from songy23 April 3, 2025 14:52
@github-actions github-actions bot requested a review from rlankfo April 3, 2025 14:54
@mar4uk mar4uk force-pushed the add-user-actions-support branch from 7f78431 to 71ea6fe Compare April 3, 2025 15:00
@mar4uk mar4uk requested a review from dehaansa as a code owner April 3, 2025 15:00
Copy link
Contributor

@dehaansa dehaansa left a comment

Choose a reason for hiding this comment

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

LGTM, appreciate the added consistency on the constants.

The one thing I initially questioned was if an empty action was possible, but I see in the SDK that the json annotations for action include omitempty and this matches with the lack of output changes in existing tests.

Will mark ready for merge once CI is satisfied.

@dehaansa dehaansa added the ready to merge Code review completed; ready to merge by maintainers label Apr 3, 2025
Copy link
Member

@rlankfo rlankfo left a comment

Choose a reason for hiding this comment

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

LGTM 👍

One small nit: I’m not a huge fan of prefixing all constants with faro inside the same package. Since they're unexported, we avoid stutter, so it’s mostly a stylistic point. Not a blocker — feel free to merge as-is.

@songy23 songy23 merged commit b639d3d into open-telemetry:main Apr 3, 2025
179 checks passed
@github-actions github-actions bot added this to the next release milestone Apr 3, 2025
dmathieu pushed a commit to dmathieu/opentelemetry-collector-contrib that referenced this pull request Apr 8, 2025
<!--Ex. Fixing a bug - Describe the bug and how this fixes the issue.
Ex. Adding a feature - Explain what this achieves.-->
#### Description
Adding support for user actions feature faro web SDK recently introduced
grafana/faro-web-sdk#1033 (alpha version).
Plus small fixes like:
- add more tests
- use constants where they should be used

<!--Describe what testing was performed and which tests were added.-->
#### Testing
Added unit tests

---------

Co-authored-by: Sam DeHaan <[email protected]>
LucianoGiannotti pushed a commit to LucianoGiannotti/opentelemetry-collector-contrib that referenced this pull request Apr 9, 2025
<!--Ex. Fixing a bug - Describe the bug and how this fixes the issue.
Ex. Adding a feature - Explain what this achieves.-->
#### Description
Adding support for user actions feature faro web SDK recently introduced
grafana/faro-web-sdk#1033 (alpha version).
Plus small fixes like:
- add more tests
- use constants where they should be used

<!--Describe what testing was performed and which tests were added.-->
#### Testing
Added unit tests

---------

Co-authored-by: Sam DeHaan <[email protected]>
Fiery-Fenix pushed a commit to Fiery-Fenix/opentelemetry-collector-contrib that referenced this pull request Apr 24, 2025
<!--Ex. Fixing a bug - Describe the bug and how this fixes the issue.
Ex. Adding a feature - Explain what this achieves.-->
#### Description
Adding support for user actions feature faro web SDK recently introduced
grafana/faro-web-sdk#1033 (alpha version).
Plus small fixes like:
- add more tests
- use constants where they should be used

<!--Describe what testing was performed and which tests were added.-->
#### Testing
Added unit tests

---------

Co-authored-by: Sam DeHaan <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
exporter/faro pkg/translator/faro ready to merge Code review completed; ready to merge by maintainers
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants