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

[FullStory] Limit number of pageVars #159725

Merged
merged 2 commits into from
Jun 15, 2023

Conversation

afharo
Copy link
Member

@afharo afharo commented Jun 14, 2023

Summary

When testing #159549, we noticed that the new field was not coming through to FullStory.

The reason, FS's limit of reporting maximum 20 attributes per page.

@shahinakmal and I went through the list of currently reported context vars, and came up with the list that makes more sense to us right now.

Now we can filter the sessions by serveless project type 🎉
image

Checklist

For maintainers

@afharo afharo added bug Fixes for quality problems that affect the customer experience Team:Core Core services & architecture: plugins, logging, config, saved objects, http, ES client, i18n, etc Feature:Telemetry Team:Journey/Onboarding Platform Journey Onboarding team labels Jun 14, 2023
@afharo afharo self-assigned this Jun 14, 2023
Comment on lines +109 to +113
if (
typeof isElasticCloudUser === 'boolean' ||
typeof cloudIsElasticStaffOwned === 'boolean' ||
cloudTrialEndDate
) {
Copy link
Member Author

Choose a reason for hiding this comment

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

we promoted cloudIsElasticStaffOwned and cloudTrialEndDate to the user level because they are account-related.

Comment on lines -89 to -92
// Keeping these fields for backwards compatibility.
if (nonUserContext.applicationId) nonUserContext.app_id = nonUserContext.applicationId;
if (nonUserContext.entityId) nonUserContext.ent_id = nonUserContext.entityId;
if (nonUserContext.cloudId) nonUserContext.org_id = nonUserContext.cloudId;
Copy link
Member Author

Choose a reason for hiding this comment

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

Since we are mostly interested in trial users, most reports don't care about BWC.
Also, we've had these for a few minors, so there should be enough overlap of both to compare with previous versions.

@kibana-ci
Copy link
Collaborator

💛 Build succeeded, but was flaky

Failed CI Steps

Test Failures

  • [job] [logs] FTR Configs #13 / endpoint For each artifact list under management "after all" hook in "For each artifact list under management"
  • [job] [logs] FTR Configs #13 / endpoint For each artifact list under management "before all" hook in "For each artifact list under management"
  • [job] [logs] FTR Configs #10 / Index Management app Index template wizard Mappings step clearing up the Range subtype dropdown doesn't break the page

Metrics [docs]

Async chunks

Total size of all lazy-loaded chunks that will be downloaded as the user navigates the app

id before after diff
cloudFullStory 4.3KB 4.7KB +371.0B

Page load bundle

Size of the bundles that are downloaded on every page load. Target size is below 100kb

id before after diff
cloudFullStory 3.4KB 3.5KB +108.0B
Unknown metric groups

ESLint disabled line counts

id before after diff
enterpriseSearch 13 15 +2
securitySolution 410 414 +4
total +6

Total ESLint disabled count

id before after diff
enterpriseSearch 14 16 +2
securitySolution 493 497 +4
total +6

To update your PR or re-run it, just comment with:
@elasticmachine merge upstream

cc @afharo

@afharo afharo marked this pull request as ready for review June 14, 2023 17:50
@afharo afharo requested a review from a team as a code owner June 14, 2023 17:50
@elasticmachine
Copy link
Contributor

Pinging @elastic/kibana-core (Team:Core)

@elasticmachine
Copy link
Contributor

Pinging @elastic/platform-onboarding (Team:Journey/Onboarding)

@afharo afharo added release_note:skip Skip the PR/issue when compiling release notes backport:skip This commit does not require backporting labels Jun 15, 2023
@afharo afharo merged commit a13ac77 into elastic:main Jun 15, 2023
@afharo afharo deleted the fullstory/limit-number-of-page-vars branch June 15, 2023 14:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport:skip This commit does not require backporting bug Fixes for quality problems that affect the customer experience Feature:Telemetry release_note:skip Skip the PR/issue when compiling release notes Team:Core Core services & architecture: plugins, logging, config, saved objects, http, ES client, i18n, etc Team:Journey/Onboarding Platform Journey Onboarding team v8.9.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants