File tree Expand file tree Collapse file tree 1 file changed +0
-17
lines changed
Expand file tree Collapse file tree 1 file changed +0
-17
lines changed Original file line number Diff line number Diff line change @@ -28,23 +28,6 @@ def expect_dsc_in_envelope_headers
2828 dsc_metadata
2929 end
3030
31- def get_http_server_transactions_with_headers
32- transaction_events = logged_events [ :events ] . select { |event | event [ "type" ] == "transaction" }
33- expect ( transaction_events ) . not_to be_empty
34-
35- http_server_transactions = transaction_events . select { |event |
36- event . dig ( "contexts" , "trace" , "op" ) == "http.server"
37- }
38- expect ( http_server_transactions ) . not_to be_empty
39-
40- transactions_with_headers = http_server_transactions . select { |transaction |
41- headers = transaction . dig ( "request" , "headers" )
42- headers && ( headers [ "Sentry-Trace" ] || headers [ "sentry-trace" ] )
43- }
44- expect ( transactions_with_headers ) . not_to be_empty
45-
46- transactions_with_headers
47- end
4831 it "validates basic tracing functionality" do
4932 visit "/error"
5033
You can’t perform that action at this time.
0 commit comments