File tree Expand file tree Collapse file tree 3 files changed +12
-3
lines changed
test/slipstream/honeycomb Expand file tree Collapse file tree 3 files changed +12
-3
lines changed Original file line number Diff line number Diff line change @@ -6,6 +6,12 @@ The format is based on [Keep a
6
6
Changelog] ( https://keepachangelog.com/en/1.0.0/ ) , and this project adheres to
7
7
[ Semantic Versioning] ( https://semver.org/spec/v2.0.0.html ) .
8
8
9
+ ## 0.1.1 - 2021-02-03
10
+
11
+ ### Fixed
12
+
13
+ - Fixed start-state and end-state keys for handle-type events
14
+
9
15
## 0.1.0 - 2021-02-03
10
16
11
17
### Added
Original file line number Diff line number Diff line change @@ -78,7 +78,8 @@ defmodule Slipstream.Honeycomb.Connection do
78
78
% Event {
79
79
time: metadata . start_time ,
80
80
data: % {
81
- state: inspect ( metadata . state ) ,
81
+ start_state: inspect ( metadata . start_state ) ,
82
+ end_state: inspect ( metadata . end_state ) ,
82
83
traceId: metadata . trace_id ,
83
84
parentId: metadata . connection_id ,
84
85
id: metadata . span_id ,
Original file line number Diff line number Diff line change @@ -42,7 +42,8 @@ defmodule Slipstream.Honeycomb.ConnectionTest do
42
42
assert event . data . id == metadata . connection_id
43
43
44
44
metadata = % {
45
- state: % { } ,
45
+ start_state: % { } ,
46
+ end_state: % { } ,
46
47
connection_id: "foo" ,
47
48
span_id: "baz" ,
48
49
trace_id: "bar" ,
@@ -63,7 +64,8 @@ defmodule Slipstream.Honeycomb.ConnectionTest do
63
64
assert_receive { :send_event , event }
64
65
65
66
assert event . time == metadata . start_time
66
- assert event . data . state == "%{}"
67
+ assert event . data . start_state == "%{}"
68
+ assert event . data . end_state == "%{}"
67
69
assert event . data . traceId == metadata . trace_id
68
70
assert event . data . parentId == metadata . connection_id
69
71
assert event . data . id == metadata . span_id
You can’t perform that action at this time.
0 commit comments