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

feat: Central Agent Architecture - Micro Front Ends #1266

Draft
wants to merge 18 commits into
base: main
Choose a base branch
from

Conversation

metal-messiah
Copy link
Member

@metal-messiah metal-messiah commented Nov 28, 2024

Please add a one-paragraph summary here, suitable for a release notes description. This will help with documentation.

Overview

Related Issue(s)

https://whimsical.com/data-flow-KeU9PdoS5Cfu55xVDhiYVD

Context

Use register interface to capture data

Screen.Recording.2024-11-27.at.11.01.22.PM.mov

Capture external data to both the target AND the container (config change on the container agent)

duplicate.mov

NPM interface example

npm.mp4

Testing

@metal-messiah metal-messiah added the POC A proof of concept label Nov 28, 2024
Copy link

github-actions bot commented Nov 28, 2024

Asset Size Report

Merging this pull request will result in the following asset size changes:

Agent Asset Previous Size New Size Diff
lite loader 29.77 kB / 10.79 kB (gzip) 31.46 kB / 11.29 kB (gzip) 5.68% / 4.6% (gzip)
lite async-chunk 52.59 kB / 17.08 kB (gzip) 53.04 kB / 17.22 kB (gzip) 0.85% / 0.81% (gzip)
pro loader 51.46 kB / 17.77 kB (gzip) 53.34 kB / 18.32 kB (gzip) 3.67% / 3.1% (gzip)
pro async-chunk 99.77 kB / 30.52 kB (gzip) 100.82 kB / 30.92 kB (gzip) 1.05% / 1.3% (gzip)
spa loader 59.08 kB / 20.09 kB (gzip) 60.96 kB / 20.65 kB (gzip) 3.19% / 2.81% (gzip)
spa async-chunk 114.49 kB / 34.85 kB (gzip) 115.5 kB / 35.26 kB (gzip) 0.88% / 1.19% (gzip)

Copy link

codecov bot commented Nov 28, 2024

Codecov Report

Attention: Patch coverage is 76.01626% with 59 lines in your changes missing coverage. Please review.

Project coverage is 88.81%. Comparing base (c770ad0) to head (c94207b).

Files with missing lines Patch % Lines
src/loaders/micro-agent.js 0.00% 16 Missing and 1 partial ⚠️
src/features/jserrors/aggregate/index.js 0.00% 11 Missing and 2 partials ⚠️
src/features/page_view_event/aggregate/index.js 0.00% 8 Missing and 1 partial ⚠️
src/loaders/api/api.js 88.37% 5 Missing ⚠️
src/features/metrics/aggregate/index.js 25.00% 3 Missing ⚠️
src/features/session_trace/aggregate/index.js 78.57% 2 Missing and 1 partial ⚠️
src/loaders/api/register-api.js 91.17% 3 Missing ⚠️
src/features/generic_events/aggregate/index.js 77.77% 2 Missing ⚠️
src/loaders/micro-agent-base.js 0.00% 2 Missing ⚠️
src/features/ajax/aggregate/index.js 0.00% 1 Missing ⚠️
... and 1 more
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1266      +/-   ##
==========================================
- Coverage   89.03%   88.81%   -0.22%     
==========================================
  Files         170      173       +3     
  Lines        7396     7422      +26     
  Branches     1489     1500      +11     
==========================================
+ Hits         6585     6592       +7     
- Misses        690      710      +20     
+ Partials      121      120       -1     
Flag Coverage Δ
unit-tests 79.77% <76.01%> (+0.17%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link

github-actions bot commented Dec 5, 2024

Static Badge

Last ran on December 05, 2024 13:10:32 CST
Checking merge of (720e68a) into main (bbf414c)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Experiment - In Dev POC A proof of concept
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant