From 72bd3004ebd9cae3cc36ed23ffe7d451c19e2403 Mon Sep 17 00:00:00 2001 From: Michael Hoffmann Date: Thu, 18 Apr 2024 14:46:47 +0200 Subject: [PATCH] Initial span schema --- src/docs/sdk/event-payloads/only-spans.mdx | 70 ++++++++++++++++++++++ 1 file changed, 70 insertions(+) create mode 100644 src/docs/sdk/event-payloads/only-spans.mdx diff --git a/src/docs/sdk/event-payloads/only-spans.mdx b/src/docs/sdk/event-payloads/only-spans.mdx new file mode 100644 index 0000000000..38b2a68662 --- /dev/null +++ b/src/docs/sdk/event-payloads/only-spans.mdx @@ -0,0 +1,70 @@ +--- +title: Only Spans Interface +--- + +``` +{ + "traceId": "5B8EFFF798038103D269B633813FC60C", + "spanId": "EEE19B7EC3C1B174", + "parentSpanId": "EEE19B7EC3C1B173", + "name": "GET /example", + "startTimeUnixNano": "1544712660000000000", + "endTimeUnixNano": "1544712661000000000", + "attributes": [ + { + "key": "sentry.segment.id", + "value": { + "stringValue": "EEE19B7EC3C1B174", + } + }, + { + "key": "sentry.segment.name", + "value": { + "stringValue": "GET /example", + } + }, + { + "key": "sentry.segment.op", + "value": { + "stringValue": "http.server", + } + }, + { + "key": "sentry.release", + "value": { + "stringValue": "1.0.0" + } + }, + { + "key": "sentry.environment", + "value": { + "stringValue": "production" + } + }, + { + "key": "sentry.op", + "value": { + "stringValue": "http.server" + } + }, + { + "key": "sentry.platform", + "value": { + "stringValue": "php" + } + }, + { + "key": "sentry.sdk.name", + "value": { + "stringValue": "http.server" + } + }, + { + "key": "sentry.sdk.version", + "value": { + "stringValue": "4.7.0" + } + }, + ] +} +```