fix tracker move batch debug to query param (#2052)
This commit is contained in:
parent
60483499ee
commit
bb09e59bf4
4 changed files with 6 additions and 3 deletions
Binary file not shown.
|
|
@ -1,3 +1,7 @@
|
||||||
|
# 12.0.9
|
||||||
|
|
||||||
|
- moved logging to query
|
||||||
|
|
||||||
# 12.0.8
|
# 12.0.8
|
||||||
|
|
||||||
- better logging for network batches
|
- better logging for network batches
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,7 @@
|
||||||
{
|
{
|
||||||
"name": "@openreplay/tracker",
|
"name": "@openreplay/tracker",
|
||||||
"description": "The OpenReplay tracker main package",
|
"description": "The OpenReplay tracker main package",
|
||||||
"version": "12.0.8",
|
"version": "12.0.9",
|
||||||
"keywords": [
|
"keywords": [
|
||||||
"logging",
|
"logging",
|
||||||
"replay"
|
"replay"
|
||||||
|
|
|
||||||
|
|
@ -90,7 +90,6 @@ export default class QueueSender {
|
||||||
|
|
||||||
const headers = {
|
const headers = {
|
||||||
Authorization: `Bearer ${this.token as string}`,
|
Authorization: `Bearer ${this.token as string}`,
|
||||||
'X-Openreplay-Batch': `${this.pageNo ?? 'noPageNum'}_${batchNumStr ?? 'noBatchNum'}`,
|
|
||||||
} as Record<string, string>
|
} as Record<string, string>
|
||||||
|
|
||||||
if (isCompressed) {
|
if (isCompressed) {
|
||||||
|
|
@ -107,7 +106,7 @@ export default class QueueSender {
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
fetch(this.ingestURL, {
|
fetch(`${this.ingestURL}?batch=${this.pageNo ?? 'noPageNum'}_${batchNumStr ?? 'noBatchNum'}`, {
|
||||||
body: batch,
|
body: batch,
|
||||||
method: 'POST',
|
method: 'POST',
|
||||||
headers,
|
headers,
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue