Peter Taoussanis
5ab2736c92
[new] Improve uid control, switch to nano-style by default
...
1. Added `*uid-fn*` to globally control uid style
2. Now distinguish between root and child uids
Root uids generally need to be longer.
3. Added to utils: `nano-uid-fn` and `hex-uid-fn`
These use new highly optimized implementations
when on JVM Clojure, and are highly flexible.
2024-08-19 15:13:12 +02:00
Peter Taoussanis
1cef195715
[new] Add host info to signal content
2024-08-19 15:13:12 +02:00
Peter Taoussanis
d635318f73
[new] Add extra tracing info to signal content
...
Tracing signals now include:
:parent {:keys [id uid instant]}
:root {:keys [id uid instant]}
The :instant info is undocumented, and useful for advanced cases like
the upcoming Span support for the OpenTelemetry handler.
2024-08-19 15:13:12 +02:00
Peter Taoussanis
946240dda4
[doc] Doc and example improvements
2024-08-07 11:37:00 +02:00
Peter Taoussanis
1756069330
[nop] Tune internal handler rate limits
2024-08-07 11:13:49 +02:00
Peter Taoussanis
ca9b27f895
[new] Updates for latest Encore signal toolkit changes
2024-05-23 09:43:55 +02:00
Peter Taoussanis
d6c9a856dc
[mod] pr-signal-fn: key opts API tweaks
2024-05-10 15:49:10 +02:00
Peter Taoussanis
050cd1fa0f
[mod] format-signal-fn: key opts API tweaks
2024-05-10 11:43:32 +02:00
Peter Taoussanis
cf72017a5b
[fix] pr-signal-fn: wasn't realizing delayed messages
...
Thanks to @DenisMc for the report!
2024-05-10 11:43:32 +02:00
Peter Taoussanis
7847bd1348
[nop] Housekeeping, docs
2024-05-10 11:43:32 +02:00
Peter Taoussanis
1f624b6d50
[mod] pr-signal: switch to single (opts) arity only
...
For consistency with other utils and handlers
2024-05-08 09:35:02 +02:00
Peter Taoussanis
e7cce0c12b
[fix] pr-signal pr-fn support broken
...
Thanks to @DenisMc for the report!
2024-05-08 09:34:54 +02:00
Peter Taoussanis
213c6470a7
[fix] [ #6 ] Missing root stack trace
...
Thanks to @FieryCod for the report!
2024-05-07 14:07:34 +02:00
Peter Taoussanis
9000af14f3
[mod] Handler work, tweak util and handler param style
...
Incl.:
- Consistently use map opts for all (even mandatory) args.
Makes future extensions/changes easier.
2024-05-06 14:50:44 +02:00
Peter Taoussanis
0ff8dafaf3
[nop] Housekeeping
2024-05-06 14:13:54 +02:00
Peter Taoussanis
21cb44e709
[mod] Rename, refactor signal formatting utils
...
- Simplified some util name (only relevant to folks customizing handler behaviour)
- Merged `format-signal->edn-fn`, `format-signal->json-fn` to single `pr-signal-fn`
2024-05-05 13:58:34 +02:00
Peter Taoussanis
1934ee7623
[new] Add :incl-kvs? opt to edn and JSON formatters
2024-05-05 13:58:16 +02:00
Peter Taoussanis
9a514d1b43
[new] Add :incl-thread?, :incl-kvs? opts to format-signal->str-fn
2024-05-05 13:58:16 +02:00
Peter Taoussanis
c5333faa03
[new] Add :end-with-newline opt to signal formatters
...
Instead allow format-signal-fn to decide whether or not to end with a newline
2024-05-05 13:58:16 +02:00
Peter Taoussanis
49b6da2cf2
[new] Add TCP, UDP socket handlers
2024-05-05 13:58:16 +02:00
Peter Taoussanis
ebe8a957f5
[new] Add experimental :thread key to Clj signals
...
Only downside/hesitation is that this info *must* be collected at the callsite,
which means that it affects the performance of *all* created signals.
Adds ~30-50 nsecs per signal.
2024-05-05 13:58:16 +02:00
Peter Taoussanis
63f488082b
[nop] Housekeeping
2024-05-05 13:58:16 +02:00
Peter Taoussanis
c4d9dd09a3
[mod] Don't include user-level kvs in default signal content handler
2024-04-29 12:15:19 +02:00
Peter Taoussanis
1d4cdb8a3c
[nop] Misc housekeeping
2024-04-29 12:15:19 +02:00
Peter Taoussanis
5f98e7304f
[mod] Rename signal field: :extra-kvs -> :kvs
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
0c3f685734
[nop] Misc housekeeping
2024-04-10 18:40:33 +02:00
Peter Taoussanis
99b2e0c0cb
[mod] Remove Clj enc/pr-json
2024-04-05 17:51:14 +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
46e629504b
[nop] Misc housekeeping
2024-04-05 17:51:14 +02:00
Peter Taoussanis
1f14712950
[new] Add first handlers
2024-03-28 16:24:08 +01:00