The only tool you need to know what is happening and how to fix it.
Go alertingexception-trackerissue-trackinglogsmetricsmonitoringobservability-platformopen-telemetryotelsession-replaytelemetrytraces
{
"resourceSpans": [
{
"resource": {
"attributes": [
{
"key": "service.name",
"value": {
"stringValue": "symbolication-vite-app"
}
},
{
"key": "browser.platform",
"value": {
"stringValue": "macOS"
}
},
{
"key": "browser.brands",
"value": {
"arrayValue": {
"values": [
{
"stringValue": "Google Chrome 149"
},
{
"stringValue": "Chromium 149"
},
{
"stringValue": "Not)A;Brand 24"
}
]
}
}
},
{
"key": "browser.mobile",
"value": {
"boolValue": false
}
},
{
"key": "browser.language",
"value": {
"stringValue": "en-US"
}
},
{
"key": "honeycomb.distro.version",
"value": {
"stringValue": "1.3.0"
}
},
{
"key": "honeycomb.distro.runtime_version",
"value": {
"stringValue": "browser"
}
},
{
"key": "telemetry.distro.name",
"value": {
"stringValue": "@honeycombio/opentelemetry-web"
}
},
{
"key": "telemetry.distro.version",
"value": {
"stringValue": "1.3.0"
}
},
{
"key": "user_agent.original",
"value": {
"stringValue": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/149.0.0.0 Safari/537.36"
}
},
{
"key": "browser.touch_screen_enabled",
"value": {
"boolValue": false
}
},
{
"key": "browser.name",
"value": {
"stringValue": "Chrome Headless"
}
},
{
"key": "browser.version",
"value": {
"stringValue": "149.0.0.0"
}
},
{
"key": "device.type",
"value": {
"stringValue": "desktop"
}
},
{
"key": "network.effectiveType",
"value": {
"stringValue": "4g"
}
},
{
"key": "screen.width",
"value": {
"intValue": "1280"
}
},
{
"key": "screen.height",
"value": {
"intValue": "720"
}
},
{
"key": "screen.size",
"value": {
"stringValue": "large"
}
},
{
"key": "entry_page.path",
"value": {
"stringValue": "/"
}
},
{
"key": "entry_page.hash",
"value": {
"stringValue": ""
}
},
{
"key": "entry_page.hostname",
"value": {
"stringValue": "localhost"
}
},
{
"key": "entry_page.referrer",
"value": {
"stringValue": ""
}
},
{
"key": "telemetry.sdk.language",
"value": {
"stringValue": "webjs"
}
},
{
"key": "telemetry.sdk.name",
"value": {
"stringValue": "opentelemetry"
}
},
{
"key": "telemetry.sdk.version",
"value": {
"stringValue": "2.7.1"
}
}
]
},
"scopeSpans": [
{
"scope": {
"name": "@honeycombio/instrumentation-web-vitals",
"version": "1.3.0"
},
"spans": [
{
"traceId": "cbe31e91170780ef2b8403d7f218428f",
"spanId": "c9271cbcf21d0f2a",
"name": "TTFB",
"kind": 1,
"startTimeUnixNano": "1781146203994899902",
"endTimeUnixNano": "1781146203997099902",
"attributes": [
{
"key": "SampleRate",
"value": {
"intValue": "1"
}
},
{
"key": "browser.width",
"value": {
"intValue": "1280"
}
},
{
"key": "browser.height",
"value": {
"intValue": "720"
}
},
{
"key": "page.hash",
"value": {
"stringValue": ""
}
},
{
"key": "page.url",
"value": {
"stringValue": "http://localhost:4173/"
}
},
{
"key": "page.route",
"value": {
"stringValue": "/"
}
},
{
"key": "page.hostname",
"value": {
"stringValue": "localhost"
}
},
{
"key": "page.search",
"value": {
"stringValue": ""
}
},
{
"key": "url.path",
"value": {
"stringValue": "/"
}
},
{
"key": "browser.page.visibility",
"value": {
"stringValue": "visible"
}
},
{
"key": "session.id",
"value": {
"stringValue": "9f2098f2309261cabb6020f0c4fafdab"
}
},
{
"key": "ttfb.id",
"value": {
"stringValue": "v5-1781146204036-2673989863593"
}
},
{
"key": "ttfb.delta",
"value": {
"doubleValue": 2.2000000029802322
}
},
{
"key": "ttfb.value",
"value": {
"doubleValue": 2.2000000029802322
}
},
{
"key": "ttfb.rating",
"value": {
"stringValue": "good"
}
},
{
"key": "ttfb.navigation_type",
"value": {
"stringValue": "navigate"
}
},
{
"key": "ttfb.waiting_duration",
"value": {
"doubleValue": 0.5
}
},
{
"key": "ttfb.dns_duration",
"value": {
"intValue": "0"
}
},
{
"key": "ttfb.connection_duration",
"value": {
"intValue": "0"
}
},
{
"key": "ttfb.request_duration",
"value": {
"doubleValue": 1.7000000029802322
}
},
{
"key": "ttfb.cache_duration",
"value": {
"intValue": "0"
}
},
{
"key": "ttfb.waiting_time",
"value": {
"doubleValue": 0.5
}
},
{
"key": "ttfb.dns_time",
"value": {
"intValue": "0"
}
},
{
"key": "ttfb.connection_time",
"value": {
"intValue": "0"
}
},
{
"key": "ttfb.request_time",
"value": {
"doubleValue": 1.7000000029802322
}
}
],
"status": {}
}
]
},
{
"scope": {
"name": "@honeycombio/instrumentation-global-errors",
"version": "1.3.0"
},
"spans": [
{
"traceId": "d8e2dd63ef61310c36cd33023b18257a",
"spanId": "e3a13c9df0d2851b",
"name": "exception",
"kind": 1,
"startTimeUnixNano": "1781146204646000000",
"endTimeUnixNano": "1781146204646200000",
"attributes": [
{
"key": "exception.type",
"value": {
"stringValue": "TypeError"
}
},
{
"key": "exception.message",
"value": {
"stringValue": "discount rate must be a finite number between 0 and 1, got: NaN"
}
},
{
"key": "exception.stacktrace",
"value": {
"stringValue": "TypeError: discount rate must be a finite number between 0 and 1, got: NaN\n at assertValidDiscountRate (http://localhost:4173/assets/app-DWNS_JMv.js:1:321)\n at applyDiscount (http://localhost:4173/assets/app-DWNS_JMv.js:1:199)\n at computeOrderTotal (http://localhost:4173/assets/app-DWNS_JMv.js:1:64)\n at HTMLButtonElement.handleCheckout (http://localhost:4173/assets/app-DWNS_JMv.js:1:957)"
}
},
{
"key": "exception.structured_stacktrace.columns",
"value": {
"arrayValue": {
"values": [
{
"intValue": "321"
},
{
"intValue": "199"
},
{
"intValue": "64"
},
{
"intValue": "957"
}
]
}
}
},
{
"key": "exception.structured_stacktrace.lines",
"value": {
"arrayValue": {
"values": [
{
"intValue": "1"
},
{
"intValue": "1"
},
{
"intValue": "1"
},
{
"intValue": "1"
}
]
}
}
},
{
"key": "exception.structured_stacktrace.functions",
"value": {
"arrayValue": {
"values": [
{
"stringValue": "assertValidDiscountRate"
},
{
"stringValue": "applyDiscount"
},
{
"stringValue": "computeOrderTotal"
},
{
"stringValue": "HTMLButtonElement.handleCheckout"
}
]
}
}
},
{
"key": "exception.structured_stacktrace.urls",
"value": {
"arrayValue": {
"values": [
{
"stringValue": "http://localhost:4173/assets/app-DWNS_JMv.js"
},
{
"stringValue": "http://localhost:4173/assets/app-DWNS_JMv.js"
},
{
"stringValue": "http://localhost:4173/assets/app-DWNS_JMv.js"
},
{
"stringValue": "http://localhost:4173/assets/app-DWNS_JMv.js"
}
]
}
}
},
{
"key": "SampleRate",
"value": {
"intValue": "1"
}
},
{
"key": "browser.width",
"value": {
"intValue": "1280"
}
},
{
"key": "browser.height",
"value": {
"intValue": "720"
}
},
{
"key": "page.hash",
"value": {
"stringValue": ""
}
},
{
"key": "page.url",
"value": {
"stringValue": "http://localhost:4173/"
}
},
{
"key": "page.route",
"value": {
"stringValue": "/"
}
},
{
"key": "page.hostname",
"value": {
"stringValue": "localhost"
}
},
{
"key": "page.search",
"value": {
"stringValue": ""
}
},
{
"key": "url.path",
"value": {
"stringValue": "/"
}
},
{
"key": "browser.page.visibility",
"value": {
"stringValue": "visible"
}
},
{
"key": "session.id",
"value": {
"stringValue": "9f2098f2309261cabb6020f0c4fafdab"
}
}
],
"status": {
"message": "discount rate must be a finite number between 0 and 1, got: NaN",
"code": 2
}
}
]
}
]
}
]
}