Skip to content

Commit 90ec5c1

Browse files
committed
remove as const
1 parent feb4552 commit 90ec5c1

File tree

1 file changed

+2
-2
lines changed
  • detectors/node/opentelemetry-resource-detector-aws/src

1 file changed

+2
-2
lines changed

detectors/node/opentelemetry-resource-detector-aws/src/semconv.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -219,7 +219,7 @@ export const ATTR_FAAS_NAME = 'faas.name';
219219
*
220220
* @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`.
221221
*/
222-
export const ATTR_FAAS_INSTANCE = 'faas.instance' as const;
222+
export const ATTR_FAAS_INSTANCE = 'faas.instance';
223223

224224
/**
225225
* The amount of memory available to the serverless function converted to Bytes.
@@ -230,7 +230,7 @@ export const ATTR_FAAS_INSTANCE = 'faas.instance' as const;
230230
*
231231
* @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`.
232232
*/
233-
export const ATTR_FAAS_MAX_MEMORY = 'faas.max_memory' as const;
233+
export const ATTR_FAAS_MAX_MEMORY = 'faas.max_memory';
234234

235235
/**
236236
* The immutable version of the function being executed.

0 commit comments

Comments
 (0)