@openobserve/browser-core 0.3.1 → 0.3.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/cjs/boot/init.js +1 -1
- package/cjs/domain/configuration/endpointBuilder.js +1 -1
- package/cjs/domain/tags.js +1 -1
- package/cjs/domain/telemetry/telemetry.js +1 -1
- package/cjs/domain/telemetry/telemetryEvent.types.d.ts +1 -1
- package/esm/boot/init.js +1 -1
- package/esm/domain/configuration/endpointBuilder.js +1 -1
- package/esm/domain/tags.js +1 -1
- package/esm/domain/telemetry/telemetry.js +1 -1
- package/esm/domain/telemetry/telemetryEvent.types.d.ts +1 -1
- package/package.json +1 -1
- package/src/domain/telemetry/telemetryEvent.types.ts +1 -1
package/cjs/boot/init.js
CHANGED
|
@@ -7,7 +7,7 @@ const monitor_1 = require("../tools/monitor");
|
|
|
7
7
|
const display_1 = require("../tools/display");
|
|
8
8
|
function makePublicApi(stub) {
|
|
9
9
|
const publicApi = {
|
|
10
|
-
version: "0.3.
|
|
10
|
+
version: "0.3.2",
|
|
11
11
|
// This API method is intentionally not monitored, since the only thing executed is the
|
|
12
12
|
// user-provided 'callback'. All SDK usages executed in the callback should be monitored, and
|
|
13
13
|
// we don't want to interfere with the user uncaught exceptions.
|
|
@@ -60,7 +60,7 @@ function buildEndpointParameters({ clientToken, internalAnalyticsSubdomain, sour
|
|
|
60
60
|
const parameters = [
|
|
61
61
|
`o2source=${source}`,
|
|
62
62
|
`o2-api-key=${clientToken}`,
|
|
63
|
-
`o2-evp-origin-version=${encodeURIComponent("0.3.
|
|
63
|
+
`o2-evp-origin-version=${encodeURIComponent("0.3.2")}`,
|
|
64
64
|
'o2-evp-origin=browser',
|
|
65
65
|
`o2-request-id=${(0, stringUtils_1.generateUUID)()}`,
|
|
66
66
|
].concat(extraParameters);
|
package/cjs/domain/tags.js
CHANGED
|
@@ -9,7 +9,7 @@ const display_1 = require("../tools/display");
|
|
|
9
9
|
exports.TAG_SIZE_LIMIT = 200;
|
|
10
10
|
function buildTags(configuration) {
|
|
11
11
|
const { env, service, version, datacenter, sdkVersion, variant } = configuration;
|
|
12
|
-
const tags = [buildTag('sdk_version', sdkVersion !== null && sdkVersion !== void 0 ? sdkVersion : "0.3.
|
|
12
|
+
const tags = [buildTag('sdk_version', sdkVersion !== null && sdkVersion !== void 0 ? sdkVersion : "0.3.2")];
|
|
13
13
|
if (env) {
|
|
14
14
|
tags.push(buildTag('env', env));
|
|
15
15
|
}
|
|
@@ -105,7 +105,7 @@ function startTelemetryCollection(telemetryService, configuration, hooks, observ
|
|
|
105
105
|
type: 'telemetry',
|
|
106
106
|
date: clockNow.timeStamp,
|
|
107
107
|
service: telemetryService,
|
|
108
|
-
version: "0.3.
|
|
108
|
+
version: "0.3.2",
|
|
109
109
|
source: 'browser',
|
|
110
110
|
_oo: {
|
|
111
111
|
format_version: 2,
|
|
@@ -218,7 +218,7 @@ export type TelemetryConfigurationEvent = CommonTelemetryProperties & {
|
|
|
218
218
|
/**
|
|
219
219
|
* A list of selected tracing propagators
|
|
220
220
|
*/
|
|
221
|
-
selected_tracing_propagators?: ('tracecontext' | 'b3' | 'b3multi')[];
|
|
221
|
+
selected_tracing_propagators?: ('openobserve' | 'tracecontext' | 'b3' | 'b3multi')[];
|
|
222
222
|
/**
|
|
223
223
|
* Session replay default privacy level
|
|
224
224
|
*/
|
package/esm/boot/init.js
CHANGED
|
@@ -3,7 +3,7 @@ import { setDebugMode } from '../tools/monitor';
|
|
|
3
3
|
import { display } from '../tools/display';
|
|
4
4
|
export function makePublicApi(stub) {
|
|
5
5
|
const publicApi = {
|
|
6
|
-
version: "0.3.
|
|
6
|
+
version: "0.3.2",
|
|
7
7
|
// This API method is intentionally not monitored, since the only thing executed is the
|
|
8
8
|
// user-provided 'callback'. All SDK usages executed in the callback should be monitored, and
|
|
9
9
|
// we don't want to interfere with the user uncaught exceptions.
|
|
@@ -56,7 +56,7 @@ function buildEndpointParameters({ clientToken, internalAnalyticsSubdomain, sour
|
|
|
56
56
|
const parameters = [
|
|
57
57
|
`o2source=${source}`,
|
|
58
58
|
`o2-api-key=${clientToken}`,
|
|
59
|
-
`o2-evp-origin-version=${encodeURIComponent("0.3.
|
|
59
|
+
`o2-evp-origin-version=${encodeURIComponent("0.3.2")}`,
|
|
60
60
|
'o2-evp-origin=browser',
|
|
61
61
|
`o2-request-id=${generateUUID()}`,
|
|
62
62
|
].concat(extraParameters);
|
package/esm/domain/tags.js
CHANGED
|
@@ -2,7 +2,7 @@ import { DOCS_ORIGIN, MORE_DETAILS, display } from '../tools/display';
|
|
|
2
2
|
export const TAG_SIZE_LIMIT = 200;
|
|
3
3
|
export function buildTags(configuration) {
|
|
4
4
|
const { env, service, version, datacenter, sdkVersion, variant } = configuration;
|
|
5
|
-
const tags = [buildTag('sdk_version', sdkVersion !== null && sdkVersion !== void 0 ? sdkVersion : "0.3.
|
|
5
|
+
const tags = [buildTag('sdk_version', sdkVersion !== null && sdkVersion !== void 0 ? sdkVersion : "0.3.2")];
|
|
6
6
|
if (env) {
|
|
7
7
|
tags.push(buildTag('env', env));
|
|
8
8
|
}
|
|
@@ -218,7 +218,7 @@ export type TelemetryConfigurationEvent = CommonTelemetryProperties & {
|
|
|
218
218
|
/**
|
|
219
219
|
* A list of selected tracing propagators
|
|
220
220
|
*/
|
|
221
|
-
selected_tracing_propagators?: ('tracecontext' | 'b3' | 'b3multi')[];
|
|
221
|
+
selected_tracing_propagators?: ('openobserve' | 'tracecontext' | 'b3' | 'b3multi')[];
|
|
222
222
|
/**
|
|
223
223
|
* Session replay default privacy level
|
|
224
224
|
*/
|
package/package.json
CHANGED
|
@@ -224,7 +224,7 @@ export type TelemetryConfigurationEvent = CommonTelemetryProperties & {
|
|
|
224
224
|
/**
|
|
225
225
|
* A list of selected tracing propagators
|
|
226
226
|
*/
|
|
227
|
-
selected_tracing_propagators?: ('tracecontext' | 'b3' | 'b3multi')[]
|
|
227
|
+
selected_tracing_propagators?: ('openobserve' | 'tracecontext' | 'b3' | 'b3multi')[]
|
|
228
228
|
/**
|
|
229
229
|
* Session replay default privacy level
|
|
230
230
|
*/
|