Skip to content

Commit 6442d72

Browse files
committed
update default export endpoints
1 parent ae9c278 commit 6442d72

File tree

2 files changed

+8
-3
lines changed

2 files changed

+8
-3
lines changed

sdk/highlight-run/src/plugins/observe.ts

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,9 +39,12 @@ export class Observe extends Plugin<ObserveOptions> implements LDPlugin {
3939
}
4040
super(options)
4141
this.observe = new ObserveSDK({
42-
backendUrl: options?.backendUrl ?? 'https://pub.highlight.io',
42+
backendUrl:
43+
options?.backendUrl ??
44+
'https://pub.observability.app.launchdarkly.com',
4345
otlpEndpoint:
44-
options?.otel?.otlpEndpoint ?? 'https://otel.highlight.io',
46+
options?.otel?.otlpEndpoint ??
47+
'https://otel.observability.app.launchdarkly.com',
4548
projectId: projectID,
4649
sessionSecureId: this.sessionSecureID,
4750
environment: options?.environment ?? 'production',

sdk/highlight-run/src/sdk/record.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -297,7 +297,9 @@ export class RecordSDK implements Record {
297297
canvas: 2,
298298
}),
299299
}
300-
this._backendUrl = options?.backendUrl ?? 'https://pub.highlight.io'
300+
this._backendUrl =
301+
options?.backendUrl ??
302+
'https://pub.observability.app.launchdarkly.com'
301303

302304
// If _backendUrl is a relative URL, convert it to an absolute URL
303305
// so that it's usable from a web worker.

0 commit comments

Comments
 (0)