Skip to content

Conversation

@dipratap
Copy link
Contributor

@dipratap dipratap commented Sep 25, 2025

Adds a new query in rum api client for fetching user-engagement metrics from RUM.

@github-actions
Copy link

This PR will trigger a patch release when merged.

@dipratap dipratap changed the title feat: Add Query for fetching RUM engagement metrics feat: add query for fetching RUM engagement metrics Sep 29, 2025
@dipratap dipratap requested a review from iuliag September 30, 2025 08:59
function handler(bundles) {
const urlsData = {};
bundles.forEach((bundle) => {
const engagementTraffic = hasEngagement(bundle) ? bundle.weight : 0;
Copy link
Contributor

Choose a reason for hiding this comment

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

The ternary operator isn’t needed here, as hasEngagement() already returns either bundle.weight or 0.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Sure, updated.

@dipratap dipratap merged commit 0eb8881 into main Oct 7, 2025
8 of 9 checks passed
@dipratap dipratap deleted the perf_dash branch October 7, 2025 11:59
solaris007 pushed a commit that referenced this pull request Oct 7, 2025
# [@adobe/spacecat-shared-data-access-v2.68.0](https://github.com/adobe/spacecat-shared/compare/@adobe/spacecat-shared-data-access-v2.67.0...@adobe/spacecat-shared-data-access-v2.68.0) (2025-10-07)

### Features

* add query for fetching RUM engagement metrics ([#985](#985)) ([0eb8881](0eb8881))
@solaris007
Copy link
Member

🎉 This PR is included in version @adobe/spacecat-shared-data-access-v2.68.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

solaris007 pushed a commit that referenced this pull request Oct 7, 2025
# [@adobe/spacecat-shared-rum-api-client-v2.38.0](https://github.com/adobe/spacecat-shared/compare/@adobe/spacecat-shared-rum-api-client-v2.37.8...@adobe/spacecat-shared-rum-api-client-v2.38.0) (2025-10-07)

### Features

* add query for fetching RUM engagement metrics ([#985](#985)) ([0eb8881](0eb8881))
@solaris007
Copy link
Member

🎉 This PR is included in version @adobe/spacecat-shared-rum-api-client-v2.38.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

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

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants