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 (#5160)
  • Loading branch information
trentm authored Nov 15, 2024
1 parent 0c268e7 commit 363c003
Show file tree
Hide file tree
Showing 3 changed files with 59 additions and 58 deletions.
1 change: 1 addition & 0 deletions semantic-conventions/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ All notable changes to the semantic-conventions package will be documented in th

### :house: (Internal)

* chore: Update the comments of some deprecated constants to point to the currently relevant replacement constant, if any. [#5160](https://github.com/open-telemetry/opentelemetry-js/pull/5160) @trentm
* chore: Minor improvements to formatting of comments. [#5100](https://github.com/open-telemetry/opentelemetry-js/pull/5100) @trentm

## 1.27.0
Expand Down
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 363c003

Please sign in to comment.