[mod] Rename signal field: :schema-version -> :schema

This commit is contained in:
Peter Taoussanis 2024-03-25 10:41:40 +01:00
parent d13e4da5b9
commit 04725e4a47
2 changed files with 2 additions and 3 deletions

View file

@ -3,8 +3,7 @@ though they can be modified by call and/or handler middleware.
Default keys:
`:schema-version` - Int version of signal schema (current: 1)
`:schema` - Int version of signal schema (current: 1)
`:instant` - Platform instant [1] when signal was created
`:level` - Signal level ∈ #{<int> :trace :debug :info :warn :error :fatal :report ...}
`:kind` - Signal ?kind ∈ #{nil :event :error :log :trace :spy <user-val> ...}

View file

@ -193,7 +193,7 @@
(defrecord Signal
;; Telemere's main public data type, we avoid nesting and duplication
[^long schema-version instant uid,
[^long schema instant uid,
location ns line column file,
sample-rate, kind id level, ctx parent,
data msg_ error run-form run-val,