Commit Graph
7 Commits
Author SHA1 Message Date
Luca Casonato 65d61bd1d5 feat: add open telemetry instrumentation (#2786)
This commit adds some useful automatic instrumentation for when users
are using `--unstable-otel`:

- Fresh renames the span for incoming HTTP requests to `$METHOD $ROUTE`
and the `http.route` attribute is added.
- Fresh creates a span around FS route handlers, showing whether they
returned a response or data.
- Fresh creates a span around async components, showing how long they
took to execute.
- Fresh adds a span around preact rendering, showing how long rendering
takes.
- Fresh adds a span around static file serving, showing how long it took
and whether there were requests without a cache bust key.

We can improve this in the future with more telemetry, such as metrics.
2024-12-10 15:03:50 +01:00
Marvin Hagemeister 0f6b4f624f chore: remove debug trace logs (#2545) 2024-06-25 10:08:48 +02:00
Marvin Hagemeister 287929e4d2 major: import Fresh 2.0 code (#2449)
🎉
2024-05-24 09:40:08 +02:00
Marvin Hagemeister 0acd1a5fc2 fix: only show update message once per day (#1742) 2023-09-06 13:11:48 +02:00
Marvin Hagemeister 215519294c chore: fix update check tests downloading deps (#1738) 2023-09-05 17:36:31 +02:00
Marvin Hagemeister e18a608515 fix: Only show update message if current < latest (#1499) 2023-07-24 13:21:34 +02:00
Marvin Hagemeister f12c96ed45 feat: add upgrade check (#1444) 2023-07-17 15:49:47 +02:00