Skip to content

Commit eee88ed

Browse files
committed
docs: add diagram
1 parent 11d707e commit eee88ed

File tree

3 files changed

+56
-0
lines changed

3 files changed

+56
-0
lines changed

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@ Sends logging events to Sentry. This appender integrates
55

66
[sentry_javascript]: https://github.com/getsentry/sentry-javascript
77

8+
![visual](docs/visual.svg)
9+
810
## Installation
911

1012
**npm registry**

docs/visual.drawio

Lines changed: 52 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,52 @@
1+
<mxfile host="65bd71144e">
2+
<diagram id="qwdjv6EuC6kWKs5qn-RF" name="Page-1">
3+
<mxGraphModel dx="811" dy="676" grid="1" gridSize="10" guides="1" tooltips="1" connect="1" arrows="1" fold="1" page="1" pageScale="1" pageWidth="850" pageHeight="1100" math="0" shadow="0">
4+
<root>
5+
<mxCell id="0"/>
6+
<mxCell id="1" parent="0"/>
7+
<mxCell id="27" value="Push to cloud" style="edgeStyle=orthogonalEdgeStyle;html=1;labelBackgroundColor=default;fontSize=9;fontColor=#000000;fontFamily=JetBrains mono;" edge="1" parent="1" source="3" target="26">
8+
<mxGeometry relative="1" as="geometry"/>
9+
</mxCell>
10+
<mxCell id="3" value="Sentry SDK" style="whiteSpace=wrap;html=1;fillColor=#e1d5e7;strokeColor=#9673a6;fontFamily=JetBrains mono;fontSize=9;fontColor=#000000;" vertex="1" parent="1">
11+
<mxGeometry x="851" y="40" width="130" height="60" as="geometry"/>
12+
</mxCell>
13+
<mxCell id="4" value="log4js" style="whiteSpace=wrap;html=1;fillColor=#fff2cc;strokeColor=#d6b656;fontFamily=JetBrains mono;fontSize=9;fontColor=#000000;" vertex="1" parent="1">
14+
<mxGeometry x="274" y="40" width="130" height="60" as="geometry"/>
15+
</mxCell>
16+
<mxCell id="9" value="&lt;div style=&quot;line-height: 18px; font-size: 9px;&quot;&gt;&lt;font style=&quot;font-size: 9px;&quot;&gt;Sentry.captureMessage()&lt;/font&gt;&lt;br style=&quot;font-size: 9px;&quot;&gt;&lt;/div&gt;" style="edgeStyle=orthogonalEdgeStyle;html=1;fontFamily=JetBrains mono;fontSize=9;fontColor=#000000;" edge="1" parent="1" source="5" target="3">
17+
<mxGeometry relative="1" as="geometry">
18+
<mxPoint x="579" y="30" as="sourcePoint"/>
19+
</mxGeometry>
20+
</mxCell>
21+
<mxCell id="18" value="&lt;span style=&quot;background-color: rgb(251, 251, 251); font-size: 9px;&quot;&gt;log4js.configure()&lt;/span&gt;" style="edgeStyle=orthogonalEdgeStyle;html=1;labelBackgroundColor=default;fontFamily=JetBrains mono;fontSize=9;fontColor=#000000;" edge="1" parent="1" source="4" target="5">
22+
<mxGeometry relative="1" as="geometry">
23+
<Array as="points">
24+
<mxPoint x="496" y="80"/>
25+
<mxPoint x="496" y="80"/>
26+
</Array>
27+
</mxGeometry>
28+
</mxCell>
29+
<mxCell id="20" value="capture log.error()" style="edgeStyle=orthogonalEdgeStyle;html=1;labelBackgroundColor=default;fontSize=9;fontColor=#000000;fontFamily=JetBrains mono;" edge="1" parent="1" source="5" target="4">
30+
<mxGeometry relative="1" as="geometry">
31+
<Array as="points">
32+
<mxPoint x="486" y="60"/>
33+
<mxPoint x="486" y="60"/>
34+
</Array>
35+
</mxGeometry>
36+
</mxCell>
37+
<mxCell id="5" value="log4js-appender-sentry" style="whiteSpace=wrap;html=1;fillColor=#fff2cc;strokeColor=#d6b656;fontFamily=JetBrains mono;fontSize=9;fontColor=#000000;" vertex="1" parent="1">
38+
<mxGeometry x="564" y="40" width="130" height="60" as="geometry"/>
39+
</mxCell>
40+
<mxCell id="13" value="log.error()" style="edgeStyle=orthogonalEdgeStyle;html=1;fontFamily=JetBrains mono;fontSize=9;fontColor=#000000;" edge="1" parent="1" source="10" target="4">
41+
<mxGeometry relative="1" as="geometry"/>
42+
</mxCell>
43+
<mxCell id="10" value="app" style="whiteSpace=wrap;html=1;fillColor=#dae8fc;strokeColor=#6c8ebf;fontFamily=JetBrains mono;fontSize=9;fontColor=#000000;" vertex="1" parent="1">
44+
<mxGeometry x="40" y="40" width="130" height="60" as="geometry"/>
45+
</mxCell>
46+
<mxCell id="26" value="Sentry" style="shape=cylinder3;whiteSpace=wrap;html=1;boundedLbl=1;backgroundOutline=1;size=15;fontSize=9;fillColor=#e1d5e7;strokeColor=#9673a6;fontFamily=JetBrains mono;" vertex="1" parent="1">
47+
<mxGeometry x="886" y="149" width="60" height="80" as="geometry"/>
48+
</mxCell>
49+
</root>
50+
</mxGraphModel>
51+
</diagram>
52+
</mxfile>

docs/visual.svg

Lines changed: 2 additions & 0 deletions
Loading

0 commit comments

Comments
 (0)