From 7050c39d0a76d6977b9e9ddd478ebbc2a0097902 Mon Sep 17 00:00:00 2001 From: Pierre Massat Date: Mon, 4 Nov 2024 07:42:57 -0500 Subject: [PATCH] chore(eap-spans): Add a field to suggest consumers to ingest spans in EAP --- examples/snuba-spans/1/basic_span.json | 1 + schemas/snuba-spans.v1.schema.json | 3 +++ 2 files changed, 4 insertions(+) diff --git a/examples/snuba-spans/1/basic_span.json b/examples/snuba-spans/1/basic_span.json index 96317bd8..44a38623 100644 --- a/examples/snuba-spans/1/basic_span.json +++ b/examples/snuba-spans/1/basic_span.json @@ -15,6 +15,7 @@ "start_timestamp_ms": 1715868485371, "start_timestamp_precise": 1715868485.370551, "end_timestamp_precise": 1715868486.370551, + "ingest_in_eap": true, "tags": { "tag1": "value1", "tag2": "123", diff --git a/schemas/snuba-spans.v1.schema.json b/schemas/snuba-spans.v1.schema.json index 08dbe377..a4193b8e 100644 --- a/schemas/snuba-spans.v1.schema.json +++ b/schemas/snuba-spans.v1.schema.json @@ -71,6 +71,9 @@ "description": { "type": "string" }, + "ingest_in_eap": { + "type": ["boolean", "null"] + }, "tags": { "description": " Manual key/value tag pairs.", "anyOf": [