Skip to content

Commit

Permalink
removed includeTraceContext and renamed attributes to scopeAttributes
Browse files Browse the repository at this point in the history
  • Loading branch information
Martin Kuba committed Aug 30, 2022
1 parent e3ae48e commit 333f4de
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions experimental/packages/api-logs/src/types/LoggerOptions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

0 comments on commit 333f4de

Please sign in to comment.