diff --git a/experimental/packages/api-logs/src/types/LoggerOptions.ts b/experimental/packages/api-logs/src/types/LoggerOptions.ts index 5053822667d..9b2fe06fc86 100644 --- a/experimental/packages/api-logs/src/types/LoggerOptions.ts +++ b/experimental/packages/api-logs/src/types/LoggerOptions.ts @@ -24,19 +24,19 @@ export interface LoggerOptions { schemaUrl?: string; /** - * The default domain for events created by the Logger. The default domain can be overridden when emitting an individual event. + * The default domain for events created by the Logger. + * + * The combination of event name and event domain uiquely identifies an event. + * By supplying an event domain, it is possible to use the same event name across + * different domains / use cases. + * + * The default domain can be overridden when emitting an individual event. * @default '' */ eventDomain?: string; - /** - * Specifies whether the Trace Context should automatically be passed on to the events and logs created by the Logger - * @default false - */ - includeTraceContext?: boolean; - /** * The instrumentation scope attributes to associate with emitted telemetry */ - attributes?: Attributes; + scopeAttributes?: Attributes; }