@bugsnag/browser-performance
Advanced tools
Comparing version 2.8.1-alpha.0 to 2.9.0
@@ -101,5 +101,5 @@ import { traceIdToSamplingRate } from '@bugsnag/core-performance'; | ||
function buildTracestateHeader(traceId) { | ||
return `sb=v:1;r:${traceIdToSamplingRate(traceId)}`; | ||
return `sb=v:1;r32:${traceIdToSamplingRate(traceId)}`; | ||
} | ||
export { NetworkRequestPlugin }; |
@@ -46,2 +46,3 @@ import { isObject, isString, coreSpanOptionSchema } from '@bugsnag/core-performance'; | ||
isValid: () => false, | ||
setAttribute: () => { }, | ||
end: () => { } | ||
@@ -73,2 +74,3 @@ }; | ||
samplingRate: span.samplingRate, | ||
setAttribute: span.setAttribute, | ||
end: (endTimeOrOptions) => { | ||
@@ -75,0 +77,0 @@ const options = isObject(endTimeOrOptions) ? endTimeOrOptions : { endTime: endTimeOrOptions }; |
@@ -8,3 +8,3 @@ import cuid from '@bugsnag/cuid'; | ||
return function resourceAttributesSource(config) { | ||
const attributes = new ResourceAttributes(config.releaseStage, config.appVersion, config.serviceName, 'bugsnag.performance.browser', '2.8.1-alpha.0'); | ||
const attributes = new ResourceAttributes(config.releaseStage, config.appVersion, config.serviceName, 'bugsnag.performance.browser', '2.9.0'); | ||
attributes.set('browser.user_agent', navigator.userAgent); | ||
@@ -11,0 +11,0 @@ // chromium only |
{ | ||
"name": "@bugsnag/browser-performance", | ||
"version": "2.8.1-alpha.0", | ||
"version": "2.9.0", | ||
"description": "BugSnag performance monitoring for browsers", | ||
@@ -24,9 +24,9 @@ "homepage": "https://www.bugsnag.com/", | ||
"dependencies": { | ||
"@bugsnag/core-performance": "^2.8.1-alpha.0", | ||
"@bugsnag/core-performance": "^2.9.0", | ||
"@bugsnag/cuid": "^3.1.1", | ||
"@bugsnag/delivery-fetch-performance": "^2.8.1-alpha.0", | ||
"@bugsnag/request-tracker-performance": "^2.8.1-alpha.0" | ||
"@bugsnag/delivery-fetch-performance": "^2.9.0", | ||
"@bugsnag/request-tracker-performance": "^2.9.0" | ||
}, | ||
"devDependencies": { | ||
"@bugsnag/browser": "8.0.0-alpha.13" | ||
"@bugsnag/browser": "^8.0.0" | ||
}, | ||
@@ -39,3 +39,3 @@ "type": "module", | ||
], | ||
"gitHead": "904470ce3230f19ce28f858efe5cf6b0f18cecf1" | ||
"gitHead": "a618c85a96f0cce25d8348d1729d8e95e4cae1b6" | ||
} |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
84256
1436
0