We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6ea2ff0 commit 9015595Copy full SHA for 9015595
web.ml
@@ -302,9 +302,10 @@ module Http (IO : IO_TYPE) (Curl_IO : CURL with type 'a t = 'a IO.t) : HTTP with
302
]
303
in
304
let explicit_span =
305
+ let span_name = Printf.sprintf "%s %s" action_name url in
306
(* We set the value of `__FUNCTION__` to preserve the build with OCaml < 4.12. *)
307
Possibly_otel.enter_manual_span
- ~__FUNCTION__:"Devkit.Web.Http.http_request'" ~__FILE__ ~__LINE__ ~data:describe action_name in
308
+ ~__FUNCTION__:"Devkit.Web.Http.http_request'" ~__FILE__ ~__LINE__ ~data:describe span_name in
309
310
let headers = match Possibly_otel.Traceparent.get_ambient ~explicit_span () with
311
| None -> headers
0 commit comments