File tree Expand file tree Collapse file tree 2 files changed +2
-1
lines changed
aws-distro-opentelemetry-node-autoinstrumentation/src Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -33,6 +33,7 @@ import {
3333 SERVICE_METRIC ,
3434} from './metric-attribute-generator' ;
3535import { SqsUrlParser } from './sqs-url-parser' ;
36+ import { LAMBDA_APPLICATION_SIGNALS_REMOTE_ENVIRONMENT } from './aws-opentelemetry-configurator' ;
3637
3738// Does not exist in @opentelemetry /semantic-conventions
3839const _SERVER_SOCKET_ADDRESS : string = 'server.socket.address' ;
@@ -50,7 +51,6 @@ const _GRAPHQL_OPERATION_TYPE: string = 'graphql.operation.type';
5051// Special DEPENDENCY attribute value if GRAPHQL_OPERATION_TYPE attribute key is present.
5152const GRAPHQL : string = 'graphql' ;
5253
53- const LAMBDA_APPLICATION_SIGNALS_REMOTE_ENVIRONMENT : string = 'LAMBDA_APPLICATION_SIGNALS_REMOTE_ENVIRONMENT' ;
5454const LAMBDA_INVOKE_OPERATION : string = 'Invoke' ;
5555
5656// Normalized remote service names for supported AWS services
Original file line number Diff line number Diff line change @@ -75,6 +75,7 @@ const FORMAT_OTEL_UNSAMPLED_TRACES_BINARY_PREFIX = 'T1U';
7575// Follow Python SDK Impl to set the max span batch size
7676// which will reduce the chance of UDP package size is larger than 64KB
7777const LAMBDA_SPAN_EXPORT_BATCH_SIZE = 10 ;
78+ export const LAMBDA_APPLICATION_SIGNALS_REMOTE_ENVIRONMENT : string = 'LAMBDA_APPLICATION_SIGNALS_REMOTE_ENVIRONMENT' ;
7879
7980/**
8081 * Aws Application Signals Config Provider creates a configuration object that can be provided to
You can’t perform that action at this time.
0 commit comments