File tree Expand file tree Collapse file tree 2 files changed +9
-1
lines changed
Expand file tree Collapse file tree 2 files changed +9
-1
lines changed Original file line number Diff line number Diff line change @@ -35,7 +35,12 @@ defmodule SpandexDatadog.ApiServer do
3535 # Same as HTTPoison.headers
3636 @ type headers :: [ { atom , binary } ] | [ { binary , binary } ] | % { binary => binary } | any
3737
38- @ headers [ { "Content-Type" , "application/msgpack" } ]
38+ @ headers [
39+ { "Content-Type" , "application/msgpack" } ,
40+ { "Datadog-Meta-Lang" , "elixir" } ,
41+ { "Datadog-Meta-Lang-Version" , System . version ( ) } ,
42+ { "Datadog-Meta-Tracer-Version" , Application . spec ( :spandex_datadog ) [ :vsn ] }
43+ ]
3944
4045 @ default_opts [
4146 host: "localhost" ,
Original file line number Diff line number Diff line change @@ -233,6 +233,9 @@ defmodule SpandexDatadog.ApiServerTest do
233233
234234 headers = [
235235 { "Content-Type" , "application/msgpack" } ,
236+ { "Datadog-Meta-Lang" , "elixir" } ,
237+ { "Datadog-Meta-Lang-Version" , System . version ( ) } ,
238+ { "Datadog-Meta-Tracer-Version" , nil } ,
236239 { "X-Datadog-Trace-Count" , 1 }
237240 ]
238241
You can’t perform that action at this time.
0 commit comments