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..ae2d53da91 --- /dev/null +++ b/src/docs/sdk/event-payloads/only-spans.mdx @@ -0,0 +1,145 @@ +--- +title: Only Spans Interface +--- + +```json +{ + "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": "sentry.php" + } + }, + { + "key": "sentry.sdk.version", + "value": { + "stringValue": "4.7.0" + } + }, + // Fields from the OpenTelemetry conventions + { + "key": "client.address", + "value": { + "stringValue": "127.0.0.1", + } + }, + { + "key": "url.full", + "value": { + "stringValue": "https://www.foo.bar/search?q=OpenTelemetry#SemConv", + } + }, + { + "key": "user_agent.original", + "value": { + "stringValue": "CERN-LineMode/2.15 libwww/2.17b3", + } + }, + { + "key": "sentry.metrics_summary.some_metric", + "value": { + "arrayValue": { + "values": [ + { + "value": { + "kvlistValue": { + "values": [ + { + "key": "min", + "value": { + "doubleValue": 1.0 + } + }, + { + "key": "max", + "value": { + "doubleValue": 2.0 + } + }, + { + "key": "sum", + "value": { + "doubleValue": 3.0 + } + }, + { + "key": "count", + "value": { + "intValue": 2 + } + }, + { + "key": "tags", + "value": { + "kvlistValue": { + "values": [ + { + "key": "environment", + "value": { + "stringValue": "test" + } + } + ] + } + } + } + ] + } + } + } + ] + } + } + } + ] +} +```