BugSnag Session Tracking API (smartbear/bugsnag-sessions
)
operated by: SmartBear Software
(go to tracker entry in the Exodus database)The Session Tracking API is used to “notify Bugsnag of sessions starting in web, mobile or desktop applications.”
Endpoint URLs
These are URLs or regexes of endpoints the tracker sends data to. We use these to determine which adapter to apply to a request. Some trackers use the same endpoint for several formats. In this case we use additional logic to match the adapter to the request, refer to the code for more information.https://sessions.bugsnag.com
Decoding steps
Every tracking library has its own way of transmitting tracking data, often even several. They are regularly pretty convoluted, nested encoding schemes. Because of that, the adapter needs to decode the request information into a consistent format. We try to keep keys and paths intact, but the structure results from our decoding. All steps used in the decoding for this adapter are documented here.- Parse the request body as JSON. Store that in the result for the request body.
1res.body = parseJson(body)
Observed data transmissions
This is data that we observed being transmitted by this tracker. Not every request contains all of this data. The context of the data describes where we found the data in the request, the path describes the location of the data in the decoded request. The examples are a selection of observed values.References
- Documentation for
app.version
: https://bugsnagsessiontrackingapi.docs.apiary.io/#reference/0/session/report-a-session-starting - Documentation for
app.versionCode
: https://bugsnagsessiontrackingapi.docs.apiary.io/#reference/0/session/report-a-session-starting - Documentation for
app.bundleVersion
: https://bugsnagsessiontrackingapi.docs.apiary.io/#reference/0/session/report-a-session-starting - Documentation for
app.codeBundleId
: https://bugsnagsessiontrackingapi.docs.apiary.io/#reference/0/session/report-a-session-starting - Documentation for
device.id
: https://bugsnagsessiontrackingapi.docs.apiary.io/#reference/0/session/report-a-session-starting - Documentation for
device.jailbroken
: https://bugsnagsessiontrackingapi.docs.apiary.io/#reference/0/session/report-a-session-starting - Documentation for
device.manufacturer
: https://bugsnagsessiontrackingapi.docs.apiary.io/#reference/0/session/report-a-session-starting - Documentation for
device.model
: https://bugsnagsessiontrackingapi.docs.apiary.io/#reference/0/session/report-a-session-starting - Documentation for
device.modelNumber
: https://bugsnagsessiontrackingapi.docs.apiary.io/#reference/0/session/report-a-session-starting - Documentation for
device.osName
: https://bugsnagsessiontrackingapi.docs.apiary.io/#reference/0/session/report-a-session-starting - Documentation for
device.osVersion
: https://bugsnagsessiontrackingapi.docs.apiary.io/#reference/0/session/report-a-session-starting - Documentation for
sessions.*.id
: https://bugsnagsessiontrackingapi.docs.apiary.io/#reference/0/session/report-a-session-starting - Documentation for
sessions.*.startedAt
: https://bugsnagsessiontrackingapi.docs.apiary.io/#reference/0/session/report-a-session-starting - Documentation for
notifier.version
: https://bugsnagsessiontrackingapi.docs.apiary.io/#reference/0/session/report-a-session-starting - Documentation for
device.userAgent
: https://bugsnagsessiontrackingapi.docs.apiary.io/#reference/0/session/report-a-session-starting - Documentation for
sessions.*.user.id
: https://bugsnagsessiontrackingapi.docs.apiary.io/#reference/0/session/report-a-session-starting