We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b5a648f commit 359fee8Copy full SHA for 359fee8
detectors/node/opentelemetry-resource-detector-aws/src/detectors/AwsLambdaDetector.ts
@@ -21,6 +21,7 @@ import {
21
} from '@opentelemetry/resources';
22
import {
23
CloudProviderValues,
24
+ CloudPlatformValues,
25
SemanticResourceAttributes,
26
} from '@opentelemetry/semantic-conventions';
27
@@ -43,6 +44,9 @@ export class AwsLambdaDetector implements Detector {
43
44
[SemanticResourceAttributes.CLOUD_PROVIDER]: String(
45
CloudProviderValues.AWS
46
),
47
+ [SemanticResourceAttributes.CLOUD_PLATFORM]: String(
48
+ CloudPlatformValues.AWS_LAMBDA
49
+ ),
50
};
51
if (region) {
52
attributes[SemanticResourceAttributes.CLOUD_REGION] = region;
0 commit comments