File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change 1- export const OTEL_URL = 'https ://otel.cloud.redocly.com ' ;
1+ export const OTEL_URL = 'http ://localhost:4318 ' ;
22export const OTEL_TRACES_URL = process . env . OTEL_TRACES_URL || `${ OTEL_URL } /v1/traces` ;
33export const DEFAULT_FETCH_TIMEOUT = 3000 ;
44export const ANONYMOUS_ID_CACHE_FILE = 'redocly-cli-anonymous-id' ;
Original file line number Diff line number Diff line change @@ -47,7 +47,7 @@ export class OtelServerTelemetry {
4747 'cloudevents.event_version' : '1.0.0' ,
4848 'cloudevents.origin' : cloudEvent . origin ,
4949 'cloudevents.event_origin' : cloudEvent . productType ,
50- 'cloudevents.event_source_details.id' : cloudEvent . sourceDetails ?. id ?? 'anonymous ' ,
50+ 'cloudevents.event_source_details.id' : cloudEvent . sourceDetails ?. id ?? '' ,
5151 'cloudevents.event_source_details.object' : cloudEvent . sourceDetails ?. object ?? 'anonymous' ,
5252 'cloudevents.event_source_details.uri' : cloudEvent . sourceDetails ?. uri ?? '' ,
5353 'cloudevents.event_data.os_platform' : cloudEvent . os_platform ,
You can’t perform that action at this time.
0 commit comments