feat(go): add Phase 1 parity sidecar
This commit is contained in:
parent
65f5be6420
commit
f02509aab5
22 changed files with 947 additions and 6 deletions
|
|
@ -29,8 +29,11 @@ Required fields:
|
|||
| `host` | string | Hostname at emission time. |
|
||||
| `<event_type>` | object | Payload, under a key equal to `event_type` (e.g. `alert` holds an `enodia.alert.v1` object). |
|
||||
|
||||
The reference encoder lives in `enodia_sentinel/event.py`
|
||||
The Python reference encoder lives in `enodia_sentinel/event.py`
|
||||
(`build_event`, `from_alert`); `tests/test_event_envelope.py` pins the contract.
|
||||
The experimental Go encoder lives in `go-agent/internal/schema`; the shared
|
||||
fixture harness `scripts/check-go-parity.py` compares its alert envelopes with
|
||||
the Python oracle.
|
||||
|
||||
## `enodia.alert.v1`
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue