From e48ab7557d2e3705b049ea6f18037f0444bc74d3 Mon Sep 17 00:00:00 2001 From: Martin Kuba Date: Tue, 30 Aug 2022 14:53:04 -0700 Subject: [PATCH] removed includeTraceContext and renamed attributes to scopeAttributes --- .../packages/api-logs/src/types/LoggerOptions.ts | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) 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; }