Skip to content

Commit

Permalink
fix(semantic-conventions): update deprecated messages for some old co…
Browse files Browse the repository at this point in the history
…nstants

This updates the '@deprecated ...' message for some of the old constants
where they referred to constants that now no longer exist, because they
where themselves deprecated or removed.

This is a partial fix for open-telemetry#5025
  • Loading branch information
trentm committed Nov 14, 2024
1 parent 4446508 commit 7d9da24
Show file tree
Hide file tree
Showing 2 changed files with 58 additions and 58 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -261,7 +261,7 @@ export const SEMRESATTRS_CONTAINER_IMAGE_NAME = TMP_CONTAINER_IMAGE_NAME;
/**
* Container image tag.
*
* @deprecated use ATTR_CONTAINER_IMAGE_TAG
* @deprecated use ATTR_CONTAINER_IMAGE_TAGS
*/
export const SEMRESATTRS_CONTAINER_IMAGE_TAG = TMP_CONTAINER_IMAGE_TAG;

Expand Down Expand Up @@ -326,7 +326,7 @@ part of the ARN is not available without calling another AWS API
which may be deemed too slow for a short-running lambda function.
As an alternative, consider setting `faas.id` as a span attribute instead.
*
* @deprecated use ATTR_FAAS_ID
* @deprecated use ATTR_CLOUD_RESOURCE_ID
*/
export const SEMRESATTRS_FAAS_ID = TMP_FAAS_ID;

Expand Down Expand Up @@ -704,7 +704,7 @@ export const SEMRESATTRS_TELEMETRY_SDK_VERSION = TMP_TELEMETRY_SDK_VERSION;
/**
* The version string of the auto instrumentation agent, if used.
*
* @deprecated use ATTR_TELEMETRY_AUTO_VERSION
* @deprecated use ATTR_TELEMETRY_DISTRO_VERSION
*/
export const SEMRESATTRS_TELEMETRY_AUTO_VERSION = TMP_TELEMETRY_AUTO_VERSION;

Expand Down
Loading

0 comments on commit 7d9da24

Please sign in to comment.