diff options
Diffstat (limited to 'kamon-core/src/main/colfer')
-rw-r--r-- | kamon-core/src/main/colfer/Context.colf (renamed from kamon-core/src/main/colfer/context.colf) | 2 | ||||
-rw-r--r-- | kamon-core/src/main/colfer/Span.colf | 8 | ||||
-rw-r--r-- | kamon-core/src/main/colfer/building.md | 5 |
3 files changed, 14 insertions, 1 deletions
diff --git a/kamon-core/src/main/colfer/context.colf b/kamon-core/src/main/colfer/Context.colf index 26421cba..f84d7a56 100644 --- a/kamon-core/src/main/colfer/context.colf +++ b/kamon-core/src/main/colfer/Context.colf @@ -1,4 +1,4 @@ -package kamon +package context type Entry struct { name text diff --git a/kamon-core/src/main/colfer/Span.colf b/kamon-core/src/main/colfer/Span.colf new file mode 100644 index 00000000..4edbed7b --- /dev/null +++ b/kamon-core/src/main/colfer/Span.colf @@ -0,0 +1,8 @@ +package span + +type Span struct { + traceID binary + spanID binary + parentID binary + samplingDecision uint8 +}
\ No newline at end of file diff --git a/kamon-core/src/main/colfer/building.md b/kamon-core/src/main/colfer/building.md new file mode 100644 index 00000000..f510a44f --- /dev/null +++ b/kamon-core/src/main/colfer/building.md @@ -0,0 +1,5 @@ +Just download and install the colver compiler and run this command from the colfer folder: + +``` +colfer -b ../java -p kamon/context/generated/binary java +```
\ No newline at end of file |