Christian Decker
5af9d19e94
misc: Improve generated traces from common/trace.c
...
The integration with opentelemetry was sub-optimal: it was generating
jaeger-style traces, with short traceIds and we were considering the
entire lifetime as a single trace. This PR changes that to a trace for
startup and then a trace for any event that doesn't already have a
parent.
We also allow using the `CLN_TRACEPARENT` envvar to attach the startup
to a remote / external trace, potentially by whatever started the main
process. This is useful to see the startup trace in the wider context
of whatever tooling is built around it.
Changelog-Added: tracing: It is now possible to inject a parent for the startup trace by setting the `CLN_TRACEPARENT` envvar
2023-12-23 15:19:31 +01:00
..
2023-12-22 13:10:10 +01:00
2023-07-11 11:41:15 +09:30
2023-07-11 11:41:15 +09:30
2023-11-01 14:11:28 +10:30
2023-11-01 14:11:28 +10:30
2023-05-27 15:06:31 +09:30
2023-05-27 15:06:31 +09:30
2022-09-19 10:18:55 +09:30
2022-09-12 09:34:52 +09:30
2023-04-07 21:22:56 +09:30
2022-11-09 15:08:03 +01:00
2023-04-07 21:22:56 +09:30
2023-01-30 13:24:29 +10:30
2022-04-12 15:17:52 +09:30
2021-12-30 14:36:55 +10:30
2023-10-26 19:11:17 +10:30
2023-12-22 13:10:10 +01:00
2023-09-21 20:08:24 +09:30
2022-11-09 15:08:03 +01:00
2022-10-26 11:29:06 +10:30
2023-09-21 13:31:03 +09:30
2023-09-21 13:31:03 +09:30
2021-12-30 09:50:40 +10:30
2021-12-30 09:50:40 +10:30
2023-08-18 20:30:03 +09:30
2023-08-18 20:30:03 +09:30
2023-07-11 11:41:15 +09:30
2022-03-10 10:22:29 +10:30
2023-08-02 16:12:32 +09:30
2023-08-02 16:12:32 +09:30
2023-07-26 06:55:48 +09:30
2022-07-28 12:08:18 +09:30
2023-09-21 20:08:24 +09:30
2023-09-21 20:08:24 +09:30
2023-09-21 20:08:24 +09:30
2023-06-20 20:08:25 +09:30
2022-01-20 15:24:06 +10:30
2023-09-20 13:56:46 +09:30
2023-06-23 13:12:42 +09:30
2022-07-18 20:50:04 -05:00
2022-07-18 20:50:04 -05:00
2023-10-15 14:01:45 +02:00
2023-09-21 20:08:24 +09:30
2022-05-19 09:47:32 +09:30
2022-05-19 09:47:32 +09:30
2023-09-21 20:08:24 +09:30
2023-09-21 20:08:24 +09:30
2023-11-02 19:32:05 +10:30
2023-11-02 19:32:05 +10:30
2022-09-19 10:18:55 +09:30
2023-08-10 15:52:53 +09:30
2023-08-10 15:52:53 +09:30
2021-12-30 14:36:55 +10:30
2023-09-21 20:08:24 +09:30
2023-01-30 15:15:41 -06:00
2023-07-20 11:47:32 +09:30
2023-12-14 09:16:56 +10:30
2023-12-14 09:16:56 +10:30
2023-12-14 09:16:56 +10:30
2023-12-14 09:16:56 +10:30
2022-07-20 19:28:33 +09:30
2022-03-24 09:53:38 +10:30
2023-10-26 16:42:47 +10:30
2023-06-29 11:28:47 -04:00
2023-06-29 11:28:47 -04:00
2023-06-29 11:28:47 -04:00
2023-06-29 11:28:47 -04:00
2022-10-26 11:29:06 +10:30
2022-10-26 11:29:06 +10:30
2023-11-02 19:32:05 +10:30
2023-07-31 21:00:22 +09:30
2023-06-29 11:28:47 -04:00
2023-06-29 11:28:47 -04:00
2023-10-23 15:48:50 +10:30
2023-07-31 21:00:22 +09:30
2022-11-09 15:08:03 +01:00
2022-11-09 15:08:03 +01:00
2022-11-09 15:08:03 +01:00
2023-09-21 20:08:24 +09:30
2022-11-09 20:25:58 +10:30
2022-11-09 20:25:58 +10:30
2023-10-26 12:59:55 +10:30
2023-10-26 12:59:55 +10:30
2023-07-13 19:34:47 +09:30
2023-07-13 19:34:47 +09:30
2023-07-13 19:34:47 +09:30
2023-07-25 14:47:12 +09:30
2023-11-21 08:23:39 +01:00
2023-10-02 11:41:19 +10:30
2023-10-26 12:59:55 +10:30
2023-03-22 13:50:32 +10:30
2023-03-22 13:50:32 +10:30
2022-06-21 06:52:35 +09:30
2022-06-21 06:52:35 +09:30
2023-12-14 09:16:56 +10:30
2023-10-03 10:05:55 +02:00
2023-10-03 10:05:55 +02:00
2022-01-20 15:24:06 +10:30
2022-01-20 15:24:06 +10:30
2023-09-18 13:58:45 +09:30
2023-01-21 08:05:31 -06:00
2023-09-20 13:56:46 +09:30
2022-11-09 15:08:03 +01:00
2023-09-20 13:56:46 +09:30
2023-04-07 21:22:56 +09:30
2023-01-30 13:24:29 +10:30
2022-10-26 11:29:06 +10:30
2023-10-23 15:48:50 +10:30
2023-10-23 15:48:50 +10:30
2022-01-20 15:24:06 +10:30
2022-01-20 15:24:06 +10:30
2023-10-23 15:48:50 +10:30
2022-02-08 11:15:52 +10:30
2022-02-08 11:15:52 +10:30
2023-03-23 16:10:55 +10:30
2023-09-21 20:08:24 +09:30
2023-12-15 10:20:19 +10:30
2023-07-31 21:00:22 +09:30
2023-07-11 11:41:15 +09:30
2023-07-11 11:41:15 +09:30
2023-10-24 12:57:45 +10:30
2023-03-23 16:10:55 +10:30
2023-08-12 09:24:06 +09:30
2023-08-12 09:24:06 +09:30
2023-10-23 15:48:50 +10:30
2023-10-23 15:48:50 +10:30
2023-08-18 14:55:32 +09:30
2022-10-26 11:29:06 +10:30
2023-06-01 09:28:39 +09:30
2023-01-12 11:44:10 +10:30
2022-12-13 08:28:12 +10:30
2022-12-13 08:28:12 +10:30
2023-09-21 20:08:24 +09:30
2023-09-21 20:08:24 +09:30
2023-10-03 10:05:55 +02:00
2023-10-03 10:05:55 +02:00
2023-09-21 20:08:24 +09:30
2023-09-21 20:08:24 +09:30
2022-01-20 15:24:06 +10:30
2022-01-20 15:24:06 +10:30
2023-12-23 15:19:31 +01:00
2023-12-23 15:19:31 +01:00
2023-02-07 21:03:36 -06:00
2023-02-07 21:03:36 -06:00
2023-09-21 20:08:24 +09:30
2022-10-26 11:29:06 +10:30
2023-09-21 20:08:24 +09:30
2023-09-21 20:08:24 +09:30
2023-06-29 11:28:47 -04:00
2023-06-29 11:28:47 -04:00
2023-06-03 10:50:29 +09:30
2023-06-03 10:50:29 +09:30
2023-01-30 15:15:41 -06:00
2023-10-23 15:48:50 +10:30
2023-10-23 15:48:50 +10:30
2023-06-01 09:28:39 +09:30
2023-09-20 13:56:46 +09:30