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

chore: collect server statistics only on server side #19913

Closed
wants to merge 4 commits into from

Conversation

mcollovati
Copy link
Collaborator

Description

Please list all relevant dependencies in this section and provide summary of the change, motivation and context.

Server side statistics are not sent to the browser anymore but directly registered when dev-tools websocket connection is opened and closed.

Fixes vaadin/platform#6724

Type of change

  • Bugfix
  • Feature

Checklist

  • I have read the contribution guide: https://vaadin.com/docs/latest/guide/contributing/overview/
  • I have added a description following the guideline.
  • The issue is created in the corresponding repository and I have referenced it.
  • I have added tests to ensure my change is effective and works as intended.
  • New and existing tests are passing locally with my change.
  • I have performed self-review and corrected misspellings.

Additional for Feature type of change

  • Enhancement / new feature was discussed in a corresponding GitHub issue and Acceptance Criteria were created.

Server side statistics are not sent to the browser anymore
but directly registered when dev-tools websocket connection
is opened and closed.

Fixes vaadin/platform#6724
Copy link

github-actions bot commented Sep 9, 2024

Test Results

1 134 files  +  543  1 134 suites  +543   1h 26m 36s ⏱️ + 15m 55s
7 396 tests +6 377  7 346 ✅ +6 362  50 💤 +15  0 ❌ ±0 
7 730 runs  +6 369  7 670 ✅ +6 354  60 💤 +15  0 ❌ ±0 

Results for commit 24e9dba. ± Comparison against base commit 739c92e.

♻️ This comment has been updated with latest results.

@vaadin-bot vaadin-bot added +0.1.0 and removed +1.0.0 labels Sep 9, 2024
@tltv tltv self-assigned this Sep 10, 2024
Co-authored-by: Tomi Virtanen <tltv@vaadin.com>
Copy link

sonarcloud bot commented Sep 10, 2024

@tltv
Copy link
Member

tltv commented Sep 10, 2024

Merge is pending on confirmation that it's OK to leave server stats out from the request sent from the browser to the stats server.

@mcollovati mcollovati marked this pull request as draft September 10, 2024 12:13
@mcollovati
Copy link
Collaborator Author

I converted the PR to draft to prevent being merged accidentally

@mshabarov
Copy link
Contributor

mshabarov commented Sep 30, 2024

Statistics V1 endpoint is still in use for server originated stats and we don't want to deprecate this at the moment, thus let's close the pull request and keep the branch chore/collect_server_stats_on_server_only available. Thanks @mcollovati and @tltv for your efforts!

@mshabarov mshabarov closed this Sep 30, 2024
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.

Collect server statistics only on server
4 participants