Skip to content
This repository has been archived by the owner on Jun 6, 2024. It is now read-only.

Commit

Permalink
fix(debug): add debug queueing
Browse files Browse the repository at this point in the history
  • Loading branch information
lsanwick committed Oct 22, 2020
1 parent b0a7103 commit 074bb79
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions lib/apollo-studio-tracing/trace_channel.rb
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,10 @@ def queue(query_key, trace, context)
@queue_full = false
end

if debug_reports?
ApolloStudioTracing.logger.info("Queueing a trace for #{query_key}")
end

proto = ApolloStudioTracing::Trace.new(
start_time: to_proto_timestamp(trace[:start_time]),
end_time: to_proto_timestamp(trace[:end_time]),
Expand Down

0 comments on commit 074bb79

Please sign in to comment.