Commit graph

29 commits

Author SHA1 Message Date
Simon Cruanes
1ee89d7d9b
fix integrations 2025-12-04 15:30:14 -05:00
Simon Cruanes
2a798098c5
wip: various fixes 2025-12-04 10:18:18 -05:00
Simon Cruanes
2dc836b7b4
fixes after we removed Scope 2025-12-04 01:07:50 -05:00
Simon Cruanes
29fa482b79
feat integration/logs: update paths 2025-12-03 13:29:12 -05:00
Simon Cruanes
8290b9bd81
fix warnings 2025-12-01 20:32:04 -05:00
Corentin Leruth
42e41675b5 fmt 2025-11-08 12:43:21 +01:00
ajbt200128
fbb280974a feat: add Logs integration
This PR upstreams the logs integration I wrote for Semgrep, and that
we've been using succesfully for months!
2025-07-31 14:25:52 -07:00
Shon Feder
894158339e
Update to support cohttp 6
Preparation for Cohttp 6 started in
2022 (https://github.com/mirage/ocaml-cohttp/blob/main/CHANGES.md#v600alpha0-2022-10-24)
and 6 has been stable and released since Nov of 2024.
See https://github.com/mirage/ocaml-cohttp/blob/main/CHANGES.md#v600-2024-11-21

Removal of the `open Cohttp_lwt` solves deprecation warnings issued by
Cohttp 6, since everything we were using from the open has been moved
into `Cohttp`.
2025-05-25 21:51:49 -04:00
Simon Cruanes
51af3a4105
format 2025-05-05 14:41:20 -04:00
Corentin Leruth
1a78802c20 do not use deprecated functions 2024-10-18 11:26:57 +02:00
Corentin Leruth
41f1f43470 add Scope.make 2024-10-07 16:37:01 +02:00
Corentin Leruth
b3747cfc8e add links to scope 2024-10-07 15:07:05 +02:00
Simon Cruanes
8e1a69d886
enable warnings and fix them 2023-06-15 22:18:20 -04:00
Simon Cruanes
8dbc5d0fb5
comments for cohttp 2022-10-03 12:20:58 -04:00
Simon Cruanes
35d1782c72
use thread-local storage to store global scope 2022-09-16 16:58:15 -04:00
Simon Cruanes
d061c64818
fix 2022-08-15 12:34:52 -04:00
Simon Cruanes
b676783100
format 2022-05-05 12:09:19 -04:00
Matt Bray
0ad2d3f641 feat(cohttp): trace post_form 2022-03-25 10:56:35 +00:00
Matt Bray
5e8affe508 fix(cohttp): use correct scope for traceparent header 2022-03-25 10:56:35 +00:00
Matt Bray
82bcebbb89 chore(cohttp): optional service_name 2022-03-25 10:56:35 +00:00
Matt Bray
32fec9b2f5 chore(cohttp): trace more methods 2022-03-25 10:56:35 +00:00
Matt Bray
c5e789c2d8 wip(cohttp): traced client 2022-03-25 10:56:35 +00:00
Matt Bray
f44c524ad0 feat(cohttp/server): put the trace scope in the request 2022-03-25 10:56:23 +00:00
Matt Bray
78f2e7bde4 refactor 2022-03-25 10:56:23 +00:00
Matt Bray
e17fb1dfb7 feat(cohttp): pass scope to callback 2022-03-24 18:12:13 +00:00
Matt Bray
75f1612ab0 feat(cohttp): pass attrs 2022-03-24 17:56:29 +00:00
Matt Bray
2d62671d07 refactor(cohttp): wrap in Server module 2022-03-24 17:51:43 +00:00
Matt Bray
c9dbab94f9 feat(cohttp): read trace context from traceparent header 2022-03-24 17:44:28 +00:00
Matt Bray
a1115661b4 wip: cohttp integration 2022-03-24 17:38:46 +00:00