Skip to content

Commit

Permalink
chore: remove unused tracer config gracefulShutdown (#1692)
Browse files Browse the repository at this point in the history
Graceful shutdown support was removed via
#1522

Remove the corresponding configuration because it is not used anymore.

Refs: #1321
  • Loading branch information
Flarna authored Nov 25, 2020
1 parent 7242c76 commit 8933661
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 4 deletions.
1 change: 0 additions & 1 deletion packages/opentelemetry-tracing/src/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,5 +30,4 @@ export const DEFAULT_CONFIG = {
numberOfLinksPerSpan: getEnv().OTEL_SPAN_LINK_COUNT_LIMIT,
numberOfEventsPerSpan: getEnv().OTEL_SPAN_EVENT_COUNT_LIMIT,
},
gracefulShutdown: true,
};
3 changes: 0 additions & 3 deletions packages/opentelemetry-tracing/src/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -43,9 +43,6 @@ export interface TracerConfig {
/** Resource associated with trace telemetry */
resource?: Resource;

/** Bool for whether or not graceful shutdown is enabled. If disabled spans will not be exported when SIGTERM is recieved */
gracefulShutdown?: boolean;

/**
* Generator of trace and span IDs
* The default idGenerator generates random ids
Expand Down

0 comments on commit 8933661

Please sign in to comment.