15 Commits

Author SHA1 Message Date
Quentin Gliech
ede4ae6450 Use get_otel_context instead of accessing OtelData directly
`OtelData` is going to become private in a future version of
`tracing-opentelemetry`. Use the new `get_otel_context` function
introduced in 0.32.1 to extract the trace ID from the span context.
2026-03-31 12:24:08 +02:00
Olivier 'reivilibre
49512d106f Fix broken link in rustdoc 2025-11-06 09:20:20 +00:00
Quentin Gliech
df45543e2e Adapt to the new tracing-opentelemetry API 2025-10-08 11:12:30 +02:00
Quentin Gliech
78933acb3c Collapse a few nested if now that we have if let chains 2025-08-18 10:29:30 +02:00
Quentin Gliech
6421d9d1f5 Add license headers in most files that missed them 2025-06-12 11:01:07 +02:00
Quentin Gliech
52b0a9b2ba Update license headers to match the actual license 2025-06-12 10:32:16 +02:00
Quentin Gliech
69e3001966 Define all the dependencies at the workspace level 2025-06-10 14:25:38 +02:00
Quentin Gliech
e063394974 Log the trace ID in the log line only if the span is sampled 2025-05-07 10:56:19 +02:00
Quentin Gliech
564e70d8dc perf: avoid unnecessary clones of the log context 2025-04-24 14:19:26 +02:00
Quentin Gliech
ae819a398f Format code 2025-04-23 17:36:48 +02:00
Quentin Gliech
9991ebde2c Suggestions from code review:
- what unit is cpu_time in
 - reduce the number of digits when logging timings
2025-04-23 17:24:18 +02:00
Quentin Gliech
c8c63a10ad Log on every HTTP response 2025-04-18 09:58:57 +02:00
Quentin Gliech
aa174a5ea0 Roll our own event formatter 2025-04-18 09:58:47 +02:00
Quentin Gliech
b56b5ebd47 Provide log context stats in a separate structure 2025-04-18 09:58:42 +02:00
Quentin Gliech
70e809b997 Introduce a task-level log context 2025-04-16 16:07:27 +02:00