Skip to content

Commit 1d5510f

Browse files
committed
wip
1 parent 91f8de3 commit 1d5510f

File tree

2 files changed

+1
-4
lines changed

2 files changed

+1
-4
lines changed

Diff for: .github/forced-tests-list.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"DEFAULT":
33
[
4-
"tests/test_span_events.py::Test_SpanEvents_WithAgentSupport::setup_v04_v07_default_format"
4+
"tests/test_span_events.py::Test_SpanEvents_WithAgentSupport::test_v04_v07_default_format"
55
],
66
"AGENT_NOT_SUPPORTING_SPAN_EVENTS":
77
[

Diff for: lib/datadog/tracing/transport/traces.rb

-3
Original file line numberDiff line numberDiff line change
@@ -193,14 +193,11 @@ def change_api!(api_id)
193193
# Queries the agent for native span events serialization support.
194194
# This changes how the serialization of span events performed.
195195
def native_events_supported?
196-
# print"Already cached: #{@native_events_supported}" if defined?(@native_events_supported)
197196
return @native_events_supported if defined?(@native_events_supported)
198197

199198
if (res = Datadog.send(:components).agent_info.fetch)
200-
# print"Caching: #{res.span_events == true}"
201199
@native_events_supported = res.span_events == true
202200
else
203-
# print"Failed to contact agent"
204201
false
205202
end
206203
end

0 commit comments

Comments
 (0)