Skip to content

Commit

Permalink
chore(aws-sdk): remove unused consts (open-telemetry#721)
Browse files Browse the repository at this point in the history
Co-authored-by: Daniel Dyla <dyladan@users.noreply.github.com>
  • Loading branch information
Yaniv Davidi and dyladan authored Nov 1, 2021
1 parent 9855161 commit cfd004b
Showing 1 changed file with 0 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -38,14 +38,6 @@ import {
SemanticAttributes,
} from '@opentelemetry/semantic-conventions';

export const START_SPAN_FUNCTION = Symbol(
'opentelemetry.instrumentation.aws-sdk.sqs.start_span'
);

export const END_SPAN_FUNCTION = Symbol(
'opentelemetry.instrumentation.aws-sdk.sqs.end_span'
);

// https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-quotas.html
const SQS_MAX_MESSAGE_ATTRIBUTES = 10;
class SqsContextSetter implements TextMapSetter<SQS.MessageBodyAttributeMap> {
Expand Down

0 comments on commit cfd004b

Please sign in to comment.