Skip to content

Commit c004fcb

Browse files
[CSHARP-969] - OpenTelemetry tracing RFC (#603)
As discussed in https://datastax-oss.atlassian.net/browse/CSHARP-969?focusedCommentId=55554, this document describes a proposal for the inclusion of tracing for C# driver that follows the OpenTelemetry specification. It was based on the template available in the Rust lang repository and should be used as a support guide for the reading of the proposal https://github.com/rust-lang/rfcs/blob/master/0000-template.md In the repository below, there is an incomplete POC developed by our team that can be viewed when analyzing the technical parts of the proposal: simaoribeiro#2 --------- Co-authored-by: Ailton Pinto <ailtonguitar@hotmail.com>
1 parent 3c18335 commit c004fcb

File tree

4 files changed

+615
-0
lines changed

4 files changed

+615
-0
lines changed
Lines changed: 139 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,139 @@
1+
<mxfile host="app.diagrams.net" modified="2023-12-28T16:55:56.055Z" agent="Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36" etag="O92ZhNGGY32hmTJWKA1h" version="22.1.15" type="device">
2+
<diagram id="-AvJSIy8xmYRNzOAJqx3" name="Page-1">
3+
<mxGraphModel dx="1434" dy="738" 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="rBXTHVmgVSlGKMjAuSDC-3" value="&lt;b&gt;Checkout&lt;br&gt;Service&lt;/b&gt;" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
8+
<mxGeometry x="80" y="360" width="140" height="60" as="geometry" />
9+
</mxCell>
10+
<mxCell id="rBXTHVmgVSlGKMjAuSDC-9" value="&lt;b&gt;Order&lt;br&gt;Processing&lt;br&gt;Service&lt;/b&gt;" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
11+
<mxGeometry x="310" y="360" width="140" height="60" as="geometry" />
12+
</mxCell>
13+
<mxCell id="rBXTHVmgVSlGKMjAuSDC-10" value="" style="endArrow=classic;html=1;rounded=0;exitX=1;exitY=0.5;exitDx=0;exitDy=0;entryX=0;entryY=0.5;entryDx=0;entryDy=0;" parent="1" edge="1">
14+
<mxGeometry width="50" height="50" relative="1" as="geometry">
15+
<mxPoint x="220" y="379" as="sourcePoint" />
16+
<mxPoint x="310" y="379" as="targetPoint" />
17+
</mxGeometry>
18+
</mxCell>
19+
<mxCell id="rBXTHVmgVSlGKMjAuSDC-11" value="" style="endArrow=classic;html=1;rounded=0;exitX=0;exitY=0.75;exitDx=0;exitDy=0;entryX=1;entryY=0.75;entryDx=0;entryDy=0;" parent="1" source="rBXTHVmgVSlGKMjAuSDC-9" target="rBXTHVmgVSlGKMjAuSDC-3" edge="1">
20+
<mxGeometry width="50" height="50" relative="1" as="geometry">
21+
<mxPoint x="400" y="450" as="sourcePoint" />
22+
<mxPoint x="450" y="400" as="targetPoint" />
23+
</mxGeometry>
24+
</mxCell>
25+
<mxCell id="rBXTHVmgVSlGKMjAuSDC-12" value="HTTP POST" style="text;html=1;align=center;verticalAlign=middle;resizable=0;points=[];autosize=1;strokeColor=none;fillColor=none;" parent="1" vertex="1">
26+
<mxGeometry x="223" y="352" width="80" height="20" as="geometry" />
27+
</mxCell>
28+
<mxCell id="rBXTHVmgVSlGKMjAuSDC-15" value="" style="endArrow=classic;html=1;rounded=0;exitX=0.46;exitY=0.997;exitDx=0;exitDy=0;exitPerimeter=0;" parent="1" source="rBXTHVmgVSlGKMjAuSDC-9" edge="1">
29+
<mxGeometry width="50" height="50" relative="1" as="geometry">
30+
<mxPoint x="376" y="420" as="sourcePoint" />
31+
<mxPoint x="375" y="480" as="targetPoint" />
32+
</mxGeometry>
33+
</mxCell>
34+
<mxCell id="rBXTHVmgVSlGKMjAuSDC-17" value="&lt;b&gt;Reporting&lt;br&gt;Service&lt;/b&gt;" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
35+
<mxGeometry x="625" y="360" width="140" height="60" as="geometry" />
36+
</mxCell>
37+
<mxCell id="rBXTHVmgVSlGKMjAuSDC-28" value="&lt;b&gt;Merchants&lt;br&gt;Service&lt;/b&gt;" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
38+
<mxGeometry x="310" y="230" width="140" height="60" as="geometry" />
39+
</mxCell>
40+
<mxCell id="rBXTHVmgVSlGKMjAuSDC-32" value="" style="endArrow=classic;html=1;rounded=0;entryX=0.357;entryY=1;entryDx=0;entryDy=0;entryPerimeter=0;" parent="1" target="rBXTHVmgVSlGKMjAuSDC-28" edge="1">
41+
<mxGeometry width="50" height="50" relative="1" as="geometry">
42+
<mxPoint x="360" y="360" as="sourcePoint" />
43+
<mxPoint x="410" y="310" as="targetPoint" />
44+
</mxGeometry>
45+
</mxCell>
46+
<mxCell id="rBXTHVmgVSlGKMjAuSDC-33" value="" style="endArrow=classic;html=1;rounded=0;exitX=0.5;exitY=1;exitDx=0;exitDy=0;entryX=0.5;entryY=0;entryDx=0;entryDy=0;" parent="1" source="rBXTHVmgVSlGKMjAuSDC-28" target="rBXTHVmgVSlGKMjAuSDC-9" edge="1">
47+
<mxGeometry width="50" height="50" relative="1" as="geometry">
48+
<mxPoint x="400" y="440" as="sourcePoint" />
49+
<mxPoint x="450" y="390" as="targetPoint" />
50+
</mxGeometry>
51+
</mxCell>
52+
<mxCell id="rBXTHVmgVSlGKMjAuSDC-34" value="HTTP&lt;br&gt;GET" style="text;html=1;align=center;verticalAlign=middle;resizable=0;points=[];autosize=1;strokeColor=none;fillColor=none;" parent="1" vertex="1">
53+
<mxGeometry x="309" y="312" width="50" height="30" as="geometry" />
54+
</mxCell>
55+
<mxCell id="11" value="" style="shape=cylinder3;whiteSpace=wrap;html=1;boundedLbl=1;backgroundOutline=1;size=15;" parent="1" vertex="1">
56+
<mxGeometry x="355" y="482" width="60" height="80" as="geometry" />
57+
</mxCell>
58+
<mxCell id="12" value="MongoDB" style="text;html=1;align=center;verticalAlign=middle;resizable=0;points=[];autosize=1;strokeColor=none;fillColor=none;" parent="1" vertex="1">
59+
<mxGeometry x="350" y="520" width="70" height="20" as="geometry" />
60+
</mxCell>
61+
<mxCell id="13" value="" style="shape=cylinder3;whiteSpace=wrap;html=1;boundedLbl=1;backgroundOutline=1;size=15;" parent="1" vertex="1">
62+
<mxGeometry x="120" y="482" width="60" height="80" as="geometry" />
63+
</mxCell>
64+
<mxCell id="14" value="SQL" style="text;html=1;align=center;verticalAlign=middle;resizable=0;points=[];autosize=1;strokeColor=none;fillColor=none;" parent="1" vertex="1">
65+
<mxGeometry x="130" y="520" width="40" height="20" as="geometry" />
66+
</mxCell>
67+
<mxCell id="28" value="" style="shape=module;jettyWidth=8;jettyHeight=4;" parent="1" vertex="1">
68+
<mxGeometry x="194" y="367" width="20" height="20" as="geometry" />
69+
</mxCell>
70+
<mxCell id="29" value="" style="shape=module;jettyWidth=8;jettyHeight=4;" parent="1" vertex="1">
71+
<mxGeometry x="425" y="367" width="20" height="20" as="geometry" />
72+
</mxCell>
73+
<mxCell id="31" value="" style="shape=module;jettyWidth=8;jettyHeight=4;" parent="1" vertex="1">
74+
<mxGeometry x="425" y="237" width="20" height="20" as="geometry" />
75+
</mxCell>
76+
<mxCell id="33" value="" style="shape=cylinder3;whiteSpace=wrap;html=1;boundedLbl=1;backgroundOutline=1;size=15;" parent="1" vertex="1">
77+
<mxGeometry x="505" y="480" width="60" height="80" as="geometry" />
78+
</mxCell>
79+
<mxCell id="36" value="" style="endArrow=classic;html=1;rounded=0;exitX=1;exitY=1;exitDx=0;exitDy=0;startArrow=none;" parent="1" source="rBXTHVmgVSlGKMjAuSDC-9" edge="1">
80+
<mxGeometry width="50" height="50" relative="1" as="geometry">
81+
<mxPoint x="549.4275" y="498" as="sourcePoint" />
82+
<mxPoint x="510" y="490" as="targetPoint" />
83+
</mxGeometry>
84+
</mxCell>
85+
<mxCell id="38" value="Producer" style="text;html=1;align=center;verticalAlign=middle;resizable=0;points=[];autosize=1;strokeColor=none;fillColor=none;" parent="1" vertex="1">
86+
<mxGeometry x="460" y="420" width="60" height="20" as="geometry" />
87+
</mxCell>
88+
<mxCell id="39" value="Kafka" style="text;html=1;align=center;verticalAlign=middle;resizable=0;points=[];autosize=1;strokeColor=none;fillColor=none;" parent="1" vertex="1">
89+
<mxGeometry x="510" y="520" width="50" height="20" as="geometry" />
90+
</mxCell>
91+
<mxCell id="44" value="Consumer" style="text;html=1;align=center;verticalAlign=middle;resizable=0;points=[];autosize=1;strokeColor=none;fillColor=none;" parent="1" vertex="1">
92+
<mxGeometry x="550" y="420" width="70" height="20" as="geometry" />
93+
</mxCell>
94+
<mxCell id="63" value="" style="endArrow=classic;html=1;fontColor=#1C1C1C;" parent="1" edge="1">
95+
<mxGeometry width="50" height="50" relative="1" as="geometry">
96+
<mxPoint x="390" y="480" as="sourcePoint" />
97+
<mxPoint x="390" y="422" as="targetPoint" />
98+
</mxGeometry>
99+
</mxCell>
100+
<mxCell id="AgBPdupSYHdof0x9d_YK-66" value="" style="endArrow=classic;html=1;rounded=0;exitX=0.46;exitY=0.997;exitDx=0;exitDy=0;exitPerimeter=0;" edge="1" parent="1">
101+
<mxGeometry width="50" height="50" relative="1" as="geometry">
102+
<mxPoint x="141.5" y="420" as="sourcePoint" />
103+
<mxPoint x="142.5" y="480" as="targetPoint" />
104+
</mxGeometry>
105+
</mxCell>
106+
<mxCell id="AgBPdupSYHdof0x9d_YK-67" value="" style="endArrow=classic;html=1;fontColor=#1C1C1C;" edge="1" parent="1">
107+
<mxGeometry width="50" height="50" relative="1" as="geometry">
108+
<mxPoint x="157.5" y="480" as="sourcePoint" />
109+
<mxPoint x="157.5" y="422" as="targetPoint" />
110+
</mxGeometry>
111+
</mxCell>
112+
<mxCell id="AgBPdupSYHdof0x9d_YK-69" value="" style="shape=module;jettyWidth=8;jettyHeight=4;" vertex="1" parent="1">
113+
<mxGeometry x="740.85" y="367" width="20" height="20" as="geometry" />
114+
</mxCell>
115+
<mxCell id="AgBPdupSYHdof0x9d_YK-70" value="" style="endArrow=classic;html=1;rounded=0;exitX=1;exitY=1;exitDx=0;exitDy=0;startArrow=none;" edge="1" parent="1">
116+
<mxGeometry width="50" height="50" relative="1" as="geometry">
117+
<mxPoint x="625" y="420" as="sourcePoint" />
118+
<mxPoint x="565" y="490" as="targetPoint" />
119+
</mxGeometry>
120+
</mxCell>
121+
<mxCell id="AgBPdupSYHdof0x9d_YK-71" value="Elastic&lt;br&gt;search" style="shape=cylinder3;whiteSpace=wrap;html=1;boundedLbl=1;backgroundOutline=1;size=15;" vertex="1" parent="1">
122+
<mxGeometry x="665" y="482" width="60" height="80" as="geometry" />
123+
</mxCell>
124+
<mxCell id="AgBPdupSYHdof0x9d_YK-72" value="" style="endArrow=classic;html=1;rounded=0;exitX=0.46;exitY=0.997;exitDx=0;exitDy=0;exitPerimeter=0;" edge="1" parent="1">
125+
<mxGeometry width="50" height="50" relative="1" as="geometry">
126+
<mxPoint x="686.5" y="420" as="sourcePoint" />
127+
<mxPoint x="687.5" y="480" as="targetPoint" />
128+
</mxGeometry>
129+
</mxCell>
130+
<mxCell id="AgBPdupSYHdof0x9d_YK-73" value="" style="endArrow=classic;html=1;fontColor=#1C1C1C;" edge="1" parent="1">
131+
<mxGeometry width="50" height="50" relative="1" as="geometry">
132+
<mxPoint x="702.5" y="480" as="sourcePoint" />
133+
<mxPoint x="702.5" y="422" as="targetPoint" />
134+
</mxGeometry>
135+
</mxCell>
136+
</root>
137+
</mxGraphModel>
138+
</diagram>
139+
</mxfile>
Loading
Loading

0 commit comments

Comments
 (0)