Commit graph

38 commits

Author SHA1 Message Date
Peter Taoussanis
d0a15bac6b [mod] Don't auto add OpenTelemetry handler
Adding this manually is easy, and it's probably better to ask users
to do this explicitly since auto config won't always be successful.
2024-04-24 13:22:31 +02:00
Peter Taoussanis
ffea1a30ed [fix] Fix broken AOT support, add AOT tests
Thanks to @AdamFrey for reporting this issue!
Ref. <https://clojurians.slack.com/archives/C06ALA6EEUA/p1713805333272469>

Previously:

  Attempting to run AOT'd code using Telemere would result in errors like:
  "Attempting to call unbound fn: #'taoensso.telemere.handlers.open-telemetry/handler:open-telemetry-logger"

The approach I was using of conditionally requiring namespaces and then aliasing vars seems to be inherently
fragile under AOT, and was leading to the remote source var being unbound.

With this commit I've now switched to a simpler approach - where we conditionally require namespaces *without*
the need for any aliasing.
2024-04-24 13:22:30 +02:00
Peter Taoussanis
b98e492071 [fix] Bad default OpenTelemetry handler constructor call 2024-04-24 12:41:56 +02:00
Peter Taoussanis
2597106d6b [nop] Bump deps 2024-04-24 12:41:50 +02:00
Peter Taoussanis
2bf8e1c5bd [mod] Rename clojure.tools.logging sys val
Better to avoid characters that could cause trouble
2024-04-18 12:05:32 +02:00
Peter Taoussanis
ee8505933c [doc] Documentation work 2024-04-17 15:51:24 +02:00
Peter Taoussanis
356a7f97b6 [new] Aliad error-signal? in main ns 2024-04-17 15:51:24 +02:00
Peter Taoussanis
7f16266699 [new] Incl. sig filter system val info in internal docs 2024-04-17 15:51:24 +02:00
Peter Taoussanis
5690bfe11a [mod] Rename "interop" -> "intake" 2024-04-17 15:51:24 +02:00
Peter Taoussanis
536f5edf10 [nop] Misc housekeeping 2024-04-17 11:00:27 +02:00
Peter Taoussanis
b56f7c4908 [nop] Misc housekeeping 2024-04-12 16:54:13 +02:00
Peter Taoussanis
be4644220c [new] Add basic OpenTelemetry handler 2024-04-10 18:40:33 +02:00
Peter Taoussanis
2abb9de61b [nop] Collect handler namespaces 2024-04-10 18:40:33 +02:00
Peter Taoussanis
0c3f685734 [nop] Misc housekeeping 2024-04-10 18:40:33 +02:00
Peter Taoussanis
23492530b6 [nop] Bump deps 2024-04-10 18:40:33 +02:00
Peter Taoussanis
323ba0e99c [nop] Restructure handlers 2024-04-05 18:17:07 +02:00
Peter Taoussanis
21a02f286b [new] Add archiving file handler 2024-04-05 17:51:14 +02:00
Peter Taoussanis
15577ab106 [nop] Handler housekeeping 2024-04-05 17:51:14 +02:00
Peter Taoussanis
5c85860b3e [new] Extend trace!, spy! for easier catching 2024-04-05 17:51:14 +02:00
Peter Taoussanis
dae36ef549 [mod] Rework (simplify) with-signal API 2024-04-05 17:51:14 +02:00
Peter Taoussanis
46e629504b [nop] Misc housekeeping 2024-04-05 17:51:14 +02:00
Peter Taoussanis
52b3613867 [nop] Bump deps 2024-03-28 16:24:08 +01:00
Peter Taoussanis
1f14712950 [new] Add first handlers 2024-03-28 16:24:08 +01:00
Peter Taoussanis
126dc2aaaa [fix] Cljs requires 2024-03-28 16:24:08 +01:00
Peter Taoussanis
dfc52d6f87 [nop] Switch to faster enc/binding 2024-03-28 16:24:08 +01:00
Peter Taoussanis
fb85a994b7 [new] Prepare handlers ns 2024-03-28 16:24:08 +01:00
Peter Taoussanis
d8ef32f088 [nop] Misc housekeeping 2024-03-28 16:24:08 +01:00
Peter Taoussanis
0222bf4ee0 [nop] Misc housekeeping 2024-03-14 10:23:23 +01:00
Peter Taoussanis
e8818b4ed3 [new] Add with-signal 2024-03-13 13:01:00 +01:00
Peter Taoussanis
5a0d9d8241 [new] Misc API polish, first signal docstrings 2024-03-13 13:01:00 +01:00
Peter Taoussanis
ef79a57e48 [new] Misc API polish, add docstrings 2024-03-13 12:11:06 +01:00
Peter Taoussanis
9f4677642d [nop] Bump deps 2024-03-13 12:11:06 +01:00
Peter Taoussanis
881b8dbd72 [wip] Initial README content, etc. 2024-03-13 12:11:06 +01:00
Peter Taoussanis
6d3e019616 [new] Generate relevant internal signals 2024-03-13 12:11:06 +01:00
Peter Taoussanis
722c6abb67 [new] Refactor interop checks, make extensible 2024-03-13 12:11:06 +01:00
Peter Taoussanis
450798832c [nop] Misc housekeeping 2024-03-13 12:11:06 +01:00
Peter Taoussanis
824a057a99 [new] Add streams interop, handler binding conveyance, etc. 2024-03-11 11:36:26 +01:00
Peter Taoussanis
dca61ba582 [new] Add initial code, content 2024-03-08 10:35:10 +01:00