-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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 span processor configuration #8117
add span processor configuration #8117
Conversation
Codecov ReportPatch coverage:
Additional details and impacted files@@ Coverage Diff @@
## main #8117 +/- ##
==========================================
+ Coverage 90.18% 90.19% +0.01%
==========================================
Files 301 301
Lines 15377 15526 +149
==========================================
+ Hits 13868 14004 +136
- Misses 1222 1231 +9
- Partials 287 291 +4
☔ View full report in Codecov by Sentry. |
Sample output: {
"Name": "exporter/otlp/ls/traces",
"SpanContext": {
"TraceID": "c9fd6d1e2afb0f062fd11b86657a71b5",
"SpanID": "278a66cba25fa420",
"TraceFlags": "01",
"TraceState": "",
"Remote": false
},
"Parent": {
"TraceID": "00000000000000000000000000000000",
"SpanID": "0000000000000000",
"TraceFlags": "00",
"TraceState": "",
"Remote": false
},
"SpanKind": 1,
"StartTime": "2023-07-20T13:32:22.746457-07:00",
"EndTime": "2023-07-20T13:32:22.937081125-07:00",
"Attributes": [
{
"Key": "sent_spans",
"Value": {
"Type": "INT64",
"Value": 20
}
},
{
"Key": "send_failed_spans",
"Value": {
"Type": "INT64",
"Value": 0
}
}
],
"Events": [
{
"Name": "Sending request.",
"Attributes": [
{
"Key": "exporter",
"Value": {
"Type": "STRING",
"Value": "otlp/ls"
}
},
{
"Key": "retry_num",
"Value": {
"Type": "INT64",
"Value": 0
}
}
],
"DroppedAttributeCount": 0,
"Time": "2023-07-20T13:32:22.746487-07:00"
}
],
"Links": null,
"Status": {
"Code": "Unset",
"Description": ""
},
"DroppedAttributes": 0,
"DroppedEvents": 0,
"DroppedLinks": 0,
"ChildSpanCount": 1,
"Resource": [
{
"Key": "service.instance.id",
"Value": {
"Type": "STRING",
"Value": "6cc516f2-a726-4870-8095-1e6a61f4fc06"
}
},
{
"Key": "service.name",
"Value": {
"Type": "STRING",
"Value": "otelcorecol"
}
},
{
"Key": "service.version",
"Value": {
"Type": "STRING",
"Value": "0.81.0-dev"
}
}
],
"InstrumentationLibrary": {
"Name": "otlp/ls",
"Version": "",
"SchemaURL": ""
}
} |
This PR adds support for exporting internal collector traces via the OTel Go OTLP exporters. Closes open-telemetry#8106 Follows open-telemetry#8117 Signed-off-by: Alex Boten <[email protected]>
1f30fae
to
f46a284
Compare
f46a284
to
c039bfa
Compare
This PR adds support for exporting internal collector traces via the OTel Go OTLP exporters. Closes open-telemetry#8106 Follows open-telemetry#8117 Signed-off-by: Alex Boten <[email protected]>
This PR adds support for configuring batch span processor for internal collector traces. It adds support to export them via the stdout exporter. Signed-off-by: Alex Boten <[email protected]>
6045a82
to
f68b5d3
Compare
This PR adds support for exporting internal collector traces via the OTel Go OTLP exporters. Closes open-telemetry#8106 Follows open-telemetry#8117 Signed-off-by: Alex Boten <[email protected]>
This PR adds support for exporting internal collector traces via the OTel Go OTLP exporters. Closes #8106 ~Follows #8117 --------- Signed-off-by: Alex Boten <[email protected]> Co-authored-by: Anthony Mirabella <[email protected]>
This PR adds support for configuring batch span processor for internal
collector traces. It adds support to export them via the stdout exporter.
Linked issue #8106
Follows #8097