Only Spans Interface

Copied
{
    "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"
                                                            }
                                                        }
                                                    ]
                                                }
                                            }
                                        }
                                    ]
                                }
                            }
                        }
                    ]
                }
            }
        }
    ]
}
You can edit this page on GitHub.