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

Add E2E tests to ensure that the export works well #18

Open
wants to merge 40 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
40 commits
Select commit Hold shift + click to select a range
2123a17
feat: added some e2e tests to ensure that the express and otel instru…
mridang Jul 15, 2024
73a6ba5
fix: removed all the accidentally changed files
mridang Jul 15, 2024
a402e2a
Added some sleep to ensure that the file is in fact written to
mridang Jul 15, 2024
567c3c1
Added the logic to start the Docker containers before the tests
mridang Jul 15, 2024
6bed257
Added the dotenv and testcontainers dependencies
mridang Jul 15, 2024
9e2befb
Apply Prettier formatting
actions-user Jul 15, 2024
580adb9
Enabled all tests
mridang Jul 15, 2024
8c59235
Added the MariaDB docker container
mridang Jul 15, 2024
9800d35
Fixed the indendentation
mridang Jul 15, 2024
e994b80
Fixed the indendentation
mridang Jul 15, 2024
df3302c
Bumped the timeout
mridang Jul 15, 2024
01f57d3
Added some debugging logic
mridang Jul 15, 2024
a6d93e7
Updated the assertion
mridang Jul 15, 2024
c6e9d92
Rethrew the error if an error happened
mridang Jul 15, 2024
9a0df7f
Ensured that the objects are created before
mridang Jul 15, 2024
5ef11ae
Apply Prettier formatting
actions-user Jul 15, 2024
c85a01e
Ensured that the objects are created before
mridang Jul 15, 2024
289826e
Ensured that the objects are created before
mridang Jul 15, 2024
88201d8
Ensured that the objects are created before
mridang Jul 15, 2024
4a89586
Issued kill command to the express server as it doesn't handle interr…
mridang Jul 15, 2024
983750c
Ensured that the jest tests exits cleanly
mridang Jul 15, 2024
9bee268
Added some more debugging logic to see why the runner doesn't exit
mridang Jul 15, 2024
b917d23
Apply Prettier formatting
actions-user Jul 15, 2024
0eaa6c1
Added some more debugging logic to see why the runner doesn't exit
mridang Jul 15, 2024
5b36057
Added the ts-node package as it is needed by the tests
mridang Jul 15, 2024
c4001ba
Added more debugging code to see why it doesn't exit
mridang Jul 15, 2024
8dfab8c
Added more debugging code to see why it doesn't exit
mridang Jul 15, 2024
bd30455
Added more debugging code to see why it doesn't exit
mridang Jul 15, 2024
5b90aea
Apply Prettier formatting
actions-user Jul 15, 2024
fee4864
Reverted to using interrupts as the code now handles cleanups
mridang Jul 15, 2024
f0bb1b5
Removed unused impor
mridang Jul 15, 2024
99cd9c5
Added more debugging code to see why it doesn't exit
mridang Jul 15, 2024
4d21eff
Apply Prettier formatting
actions-user Jul 15, 2024
9bcc7ba
Ditched all workarounds and simply moved to using -forceexit as there…
mridang Jul 16, 2024
ca92fd2
Added a test to ensure that the crashes are reported correctly
mridang Jul 16, 2024
db3d690
Addeds more tests to check that the distributed tracing is working as…
mridang Jul 16, 2024
0039bb6
Merge branch 'master' into add-e2e-tests
mridang Oct 7, 2024
b3cbd91
Fixed the test assertion and added back the localstack configuration
mridang Oct 7, 2024
4c2cb29
Updated the tests to assert the AWS segments
mridang Oct 7, 2024
e03bab1
Loosened the test assertions
mridang Oct 7, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 23 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
version: '3.8'

services:
localstack:
image: localstack/localstack:3.2
ports:
- "4566:4566"
environment:
- DEBUG=1
- DEFAULT_REGION=us-east-1
- EDGE_PORT=4566
volumes:
- "/var/run/docker.sock:/var/run/docker.sock" # Docker daemon socket (optional)

mariadb:
image: mariadb:latest
environment:
MARIADB_ROOT_PASSWORD: root_password
MARIADB_DATABASE: your_database
MARIADB_USER: your_user
MARIADB_PASSWORD: your_password
ports:
- "3306:3306"
74 changes: 74 additions & 0 deletions etc/architecture.drawio
Original file line number Diff line number Diff line change
@@ -0,0 +1,74 @@
<mxfile modified="2024-07-06T03:46:57.191Z" host="app.diagrams.net" agent="Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/126.0.0.0 Safari/537.36" etag="3wDUT0cuyAYK_5uErzme" version="24.6.4" type="device">
<diagram id="V7B4Adpet9uSPmfZ2MFj" name="Diagram">
<mxGraphModel dx="1035" dy="-144" grid="0" gridSize="10" guides="1" tooltips="1" connect="1" arrows="1" fold="1" page="1" pageScale="1" pageWidth="1169" pageHeight="827" background="none" math="0" shadow="1">
<root>
<mxCell id="0" />
<mxCell id="1" parent="0" />
<mxCell id="he8zqHsyaWokfr4l6x8W-4" value="Lambda Execution Environment" style="fillColor=none;strokeColor=#5A6C86;dashed=1;verticalAlign=top;fontStyle=0;fontColor=#5A6C86;whiteSpace=wrap;html=1;" vertex="1" parent="1">
<mxGeometry x="200.5" y="900" width="390" height="310" as="geometry" />
</mxCell>
<mxCell id="he8zqHsyaWokfr4l6x8W-8" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;entryX=0;entryY=0.5;entryDx=0;entryDy=0;" edge="1" parent="1" source="he8zqHsyaWokfr4l6x8W-1" target="he8zqHsyaWokfr4l6x8W-7">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="he8zqHsyaWokfr4l6x8W-15" value="Application" style="fillColor=none;strokeColor=#5A6C86;dashed=1;verticalAlign=top;fontStyle=0;fontColor=#5A6C86;whiteSpace=wrap;html=1;" vertex="1" parent="1">
<mxGeometry x="220" y="950" width="260.5" height="250" as="geometry" />
</mxCell>
<mxCell id="tuFBvk_88zkTL_cLm5_9-1" value="AWS" style="points=[[0,0],[0.25,0],[0.5,0],[0.75,0],[1,0],[1,0.25],[1,0.5],[1,0.75],[1,1],[0.75,1],[0.5,1],[0.25,1],[0,1],[0,0.75],[0,0.5],[0,0.25]];outlineConnect=0;gradientColor=none;html=1;whiteSpace=wrap;fontSize=12;fontStyle=0;container=0;pointerEvents=0;collapsible=0;recursiveResize=0;shape=mxgraph.aws4.group;grIcon=mxgraph.aws4.group_aws_cloud_alt;strokeColor=#232F3E;fillColor=none;verticalAlign=top;align=left;spacingLeft=30;fontColor=#232F3E;dashed=0;rounded=1;" parent="1" vertex="1">
<mxGeometry x="170" y="870" width="560" height="350" as="geometry" />
</mxCell>
<mxCell id="P9NamyRKtRBUNo8rRp3y-3" style="edgeStyle=orthogonalEdgeStyle;rounded=1;orthogonalLoop=1;jettySize=auto;html=1;entryX=0;entryY=0.5;entryDx=0;entryDy=0;" parent="1" source="P9NamyRKtRBUNo8rRp3y-1" target="he8zqHsyaWokfr4l6x8W-1" edge="1">
<mxGeometry relative="1" as="geometry">
<mxPoint x="195" y="1075" as="targetPoint" />
</mxGeometry>
</mxCell>
<mxCell id="P9NamyRKtRBUNo8rRp3y-1" value="End Users" style="sketch=0;outlineConnect=0;fontColor=#232F3E;gradientColor=none;fillColor=#232F3D;strokeColor=none;dashed=0;verticalLabelPosition=bottom;verticalAlign=top;align=center;html=1;fontSize=12;fontStyle=0;aspect=fixed;pointerEvents=1;shape=mxgraph.aws4.users;perimeterSpacing=5;rounded=1;" parent="1" vertex="1">
<mxGeometry x="50" y="1065.5" width="50" height="50" as="geometry" />
</mxCell>
<mxCell id="KC3xq8jwCQPXp9tBLLmZ-4" value="Web requests" style="text;strokeColor=none;align=center;fillColor=none;html=1;verticalAlign=middle;whiteSpace=wrap;rounded=1;fontSize=8;" parent="1" vertex="1">
<mxGeometry x="110" y="1060" width="60" height="30" as="geometry" />
</mxCell>
<mxCell id="KC3xq8jwCQPXp9tBLLmZ-6" value="&lt;b&gt;Approach 1:&lt;/b&gt; Send as segments serialised to JSON to UDP 2000" style="text;strokeColor=none;align=center;fillColor=none;html=1;verticalAlign=middle;whiteSpace=wrap;rounded=1;fontSize=8;" parent="1" vertex="1">
<mxGeometry x="420.5" y="1014" width="60" height="30" as="geometry" />
</mxCell>
<mxCell id="zFen8acMr_VO8ijJpGtr-1" value="" style="sketch=0;points=[[0,0,0],[0.25,0,0],[0.5,0,0],[0.75,0,0],[1,0,0],[0,1,0],[0.25,1,0],[0.5,1,0],[0.75,1,0],[1,1,0],[0,0.25,0],[0,0.5,0],[0,0.75,0],[1,0.25,0],[1,0.5,0],[1,0.75,0]];outlineConnect=0;fontColor=#232F3E;fillColor=#C925D1;strokeColor=#ffffff;dashed=0;verticalLabelPosition=bottom;verticalAlign=top;align=center;html=1;fontSize=12;fontStyle=0;aspect=fixed;shape=mxgraph.aws4.resourceIcon;resIcon=mxgraph.aws4.xray;textShadow=0;perimeterSpacing=6;" vertex="1" parent="1">
<mxGeometry x="640.5" y="1061" width="59" height="59" as="geometry" />
</mxCell>
<mxCell id="he8zqHsyaWokfr4l6x8W-1" value="" style="shape=image;verticalLabelPosition=bottom;labelBackgroundColor=default;verticalAlign=top;aspect=fixed;imageAspect=0;image=data:image/svg+xml,PHN2ZyB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWw6c3BhY2U9InByZXNlcnZlIiB2aWV3Qm94PSIwIDAgNDggNDgiIHk9IjBweCIgeD0iMHB4IiBpZD0iX3gzMV8iIHZlcnNpb249IjEuMSI+JiN4YTs8cGF0aCBkPSJNMjQuMDA3LDQ1LjQxOWMtMC41NzQsMC0xLjE0My0wLjE1LTEuNjQ2LTAuNDRsLTUuMjQtMy4xMDNjLTAuNzgzLTAuNDM4LTAuNDAxLTAuNTkzLTAuMTQzLTAuNjgyJiMxMDsmIzk7YzEuMDQ0LTAuMzY1LDEuMjU1LTAuNDQ4LDIuMzY5LTEuMDgxYzAuMTE3LTAuMDY3LDAuMjctMC4wNDMsMC4zOSwwLjAyOGw0LjAyNiwyLjM4OWMwLjE0NSwwLjA3OSwwLjM1MiwwLjA3OSwwLjQ4NiwwbDE1LjY5Ny05LjA2MSYjMTA7JiM5O2MwLjE0NS0wLjA4MywwLjI0LTAuMjUxLDAuMjQtMC40MjRW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jMTA7JiM5O2MwLjIyNCwwLDAuNDEzLDAuMTYzLDAuNDQ4LDAuMzg0YzAuMzA2LDIuMDY2LDEuMjE4LDMuMTA4LDUuMzcxLDMuMTA4YzMuMzA4LDAsNC43MTUtMC43NDcsNC43MTUtMi41MDImIzEwOyYjOTtjMC0xLjAxLTAuNDAxLTEuNzYtNS41NC0yLjI2M2MtNC4yOTktMC40MjQtNi45NTUtMS4zNzEtNi45NTUtNC44MDljMC0zLjE2NywyLjY3Mi01LjA1Myw3LjE0Ny01LjA1MyYjMTA7JiM5O2M1LjAyNiwwLDcuNTE3LDEuNzQ1LDcuODMxLDUuNDkzYzAuMDEyLDAuMTMtMC4wMzUsMC4yNTUtMC4xMjIsMC4zNWMtMC4wODYsMC4wOS0wLjIwOCwwLjE0NS0wLjMzNCwwLjE0NWgtMi4wMzkmIzEwOyYjOTtjLTAuMjEyLDAtMC4zOTctMC4xNDktMC40NC0wLjM1NGMtMC40OTEtMi4xNzMtMS42NzgtMi44NjgtNC45MDQtMi44NjhjLTMuNjExLDAtNC4wMzEsMS4yNTctNC4wMzEsMi4yJiMxMDsmIzk7YzAsMS4xNDMsMC40OTUsMS40NzcsNS4zNjcsMi4xMjJjNC44MjUsMC42NCw3LjExNiwxLjU0NCw3LjExNiw0LjkzNWMwLDMuNDE4LTIuODUzLDUuMzc5LTcuODI3LDUuMzc5IiBzdHlsZT0iZmlsbDojMjFBMzY2OyIvPiYjeGE7PC9zdmc+;fontSize=11;strokeWidth=3;perimeterSpacing=6;" vertex="1" parent="1">
<mxGeometry x="240.5" y="1061" width="59" height="59" as="geometry" />
</mxCell>
<mxCell id="he8zqHsyaWokfr4l6x8W-3" value="AWS Built-in X-Ray Daemon" style="sketch=0;points=[[0,0,0],[0.25,0,0],[0.5,0,0],[0.75,0,0],[1,0,0],[0,1,0],[0.25,1,0],[0.5,1,0],[0.75,1,0],[1,1,0],[0,0.25,0],[0,0.5,0],[0,0.75,0],[1,0.25,0],[1,0.5,0],[1,0.75,0]];gradientDirection=north;outlineConnect=0;fontColor=#232F3E;gradientColor=none;fillColor=#1E262E;strokeColor=#ffffff;dashed=0;verticalLabelPosition=bottom;verticalAlign=top;align=center;html=1;fontSize=8;fontStyle=0;aspect=fixed;shape=mxgraph.aws4.resourceIcon;resIcon=mxgraph.aws4.general;perimeterSpacing=6;" vertex="1" parent="1">
<mxGeometry x="510.5" y="967" width="59" height="59" as="geometry" />
</mxCell>
<mxCell id="he8zqHsyaWokfr4l6x8W-5" value="" style="sketch=0;points=[[0,0,0],[0.25,0,0],[0.5,0,0],[0.75,0,0],[1,0,0],[0,1,0],[0.25,1,0],[0.5,1,0],[0.75,1,0],[1,1,0],[0,0.25,0],[0,0.5,0],[0,0.75,0],[1,0.25,0],[1,0.5,0],[1,0.75,0]];outlineConnect=0;fontColor=#232F3E;fillColor=#ED7100;strokeColor=#ffffff;dashed=0;verticalLabelPosition=bottom;verticalAlign=top;align=center;html=1;fontSize=12;fontStyle=0;aspect=fixed;shape=mxgraph.aws4.resourceIcon;resIcon=mxgraph.aws4.lambda;" vertex="1" parent="1">
<mxGeometry x="200.5" y="900" width="27" height="27" as="geometry" />
</mxCell>
<mxCell id="he8zqHsyaWokfr4l6x8W-7" value="OpenTelemetry &#xa;Instrumentation" style="shape=image;verticalLabelPosition=bottom;labelBackgroundColor=none;verticalAlign=top;aspect=fixed;imageAspect=0;image=data:image/svg+xml,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAxMjggMTI4Ij4mI3hhOyAgPHBhdGggZD0iTTY3LjY0OCA2OS43OTdjLTUuMjQ2IDUuMjUtNS4yNDYgMTMuNzU4IDAgMTkuMDA4IDUuMjUgNS4yNDYgMTMuNzU4IDUuMjQ2IDE5LjAwNCAwIDUuMjUtNS4yNSA1LjI1LTEzLjc1OCAwLTE5LjAwOC01LjI0Ni01LjI0Ni0xMy43NTQtNS4yNDYtMTkuMDA0IDBabTE0LjIwNyAxN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gNjcuNTg1bC02LjY3Mi02LjY3MmMtMS41NjMtMS41NjItNC4xMjUtMS41NjItNS42ODQgMGwtMjMuNTMgMjMuNTRhNC4wMzYgNC4wMzYgMCAwIDAgMCA1LjY4N2wxMy4zMzEgMTMuMzMyYTQuMDM2IDQuMDM2IDAgMCAwIDUuNjg4IDBsMTUuMTMyLTE1LjE1N2MtMy4xOTktNi42MDktMi42MjUtMTQuNTkzIDEuNzM1LTIwLjczWm0wIDAiIGZpbGw9IiM0MjVjYzciLz4mI3hhOzwvc3ZnPg==;fontSize=8;perimeterSpacing=6;" vertex="1" parent="1">
<mxGeometry x="366" y="1061" width="59" height="59" as="geometry" />
</mxCell>
<mxCell id="he8zqHsyaWokfr4l6x8W-17" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;sourcePerimeterSpacing=0;targetPerimeterSpacing=0;entryX=0;entryY=0.5;entryDx=0;entryDy=0;entryPerimeter=0;endSize=6;" edge="1" parent="1" source="he8zqHsyaWokfr4l6x8W-7" target="he8zqHsyaWokfr4l6x8W-3">
<mxGeometry relative="1" as="geometry">
<mxPoint x="460" y="996" as="targetPoint" />
<Array as="points">
<mxPoint x="401" y="997" />
</Array>
</mxGeometry>
</mxCell>
<mxCell id="he8zqHsyaWokfr4l6x8W-18" value="&lt;b&gt;Approach 2:&amp;nbsp;&lt;/b&gt;Sent as segments using the PutTraceSegments operation of AWS SDK" style="text;strokeColor=none;align=center;fillColor=none;html=1;verticalAlign=middle;whiteSpace=wrap;rounded=1;fontSize=8;" vertex="1" parent="1">
<mxGeometry x="500.5" y="1110" width="60" height="30" as="geometry" />
</mxCell>
<mxCell id="he8zqHsyaWokfr4l6x8W-19" value="Sent as segments using the PutTraceSegments operation of AWS SDK" style="text;strokeColor=none;align=center;fillColor=none;html=1;verticalAlign=middle;whiteSpace=wrap;rounded=1;fontSize=8;" vertex="1" parent="1">
<mxGeometry x="610.5" y="947" width="60" height="30" as="geometry" />
</mxCell>
<mxCell id="he8zqHsyaWokfr4l6x8W-20" value="Traces are converted into segments using the exporter" style="text;strokeColor=none;align=center;fillColor=none;html=1;verticalAlign=middle;whiteSpace=wrap;rounded=1;fontSize=8;" vertex="1" parent="1">
<mxGeometry x="306" y="1030" width="60" height="30" as="geometry" />
</mxCell>
<mxCell id="he8zqHsyaWokfr4l6x8W-24" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;entryX=0;entryY=0.5;entryDx=0;entryDy=0;entryPerimeter=0;" edge="1" parent="1" source="he8zqHsyaWokfr4l6x8W-7" target="zFen8acMr_VO8ijJpGtr-1">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="he8zqHsyaWokfr4l6x8W-25" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;entryX=0.5;entryY=0;entryDx=0;entryDy=0;entryPerimeter=0;" edge="1" parent="1" source="he8zqHsyaWokfr4l6x8W-3" target="zFen8acMr_VO8ijJpGtr-1">
<mxGeometry relative="1" as="geometry" />
</mxCell>
</root>
</mxGraphModel>
</diagram>
</mxfile>
2 changes: 2 additions & 0 deletions jest.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,6 @@ module.exports = {
coverageReporters: ['lcov', 'text'],
coveragePathIgnorePatterns: ['/dist/'],
testTimeout: 60000,
globalSetup: './test/setup.ts',
globalTeardown: './test/teardown.ts',
};
3 changes: 2 additions & 1 deletion knip.config.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
module.exports = {
entry: ['src/index.ts'],
entry: ['src/index.ts', 'test/app/app.ts'],
ignoreDependencies: ['ts-node'],
};
Loading