Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(semantic-conventions): bump weaver; use comment filter rather than deprecated comment_with_prefix #5100

Merged
merged 6 commits into from
Nov 8, 2024

Conversation

trentm
Copy link
Contributor

@trentm trentm commented Oct 30, 2024

This slightly improves newlines (multiple @example jsdoc tags are cuddled
together) and some markdown formatting of content is improved (list item
bullets and indentation, reflow of blockquote). The current cost is
a trailing space on blank comment lines: ' * ', rather than ' *'.
I think the weaver 'comment' filter should handle this.


This is some prep work before looking at #5025 and update to semconv 1.28.0.

details on some changes to generated files with examples

  • Improvement: remove spurious * comment prefix after @deprecated, e.g.:
@@ -1444,7 +1390,7 @@ export const ATTR_DB_CASSANDRA_SPECULATIVE_EXECUTION_COUNT = 'db.cassandra.specu
  *
  * @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`.
  *
- * @deprecated  * Replaced by `db.collection.name`.
+ * @deprecated Replaced by `db.collection.name`.
  */
 export const ATTR_DB_CASSANDRA_TABLE = 'db.cassandra.table' as const;
  • Improvment: cuddle multiple @examples ... together. This is purely cosmetic for the source files, the tooltip (at least in VS Code) is the same with or without this cuddling. E.g.:
@@ -1657,7 +1602,6 @@ export const DB_COSMOSDB_OPERATION_TYPE_VALUE_UPSERT = "Upsert" as const;
  * RU consumed for that operation
  *
  * @example 46.18
- *
  * @example 1.0
  *
  * @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`.
  • Debatable improvement: indented bullet lists in Markdown comments. E.g.:
@@ -2232,8 +2156,8 @@ export const ATTR_DEPLOYMENT_ENVIRONMENT = 'deployment.environment' as const;
  * This implies that resources carrying the following attribute combinations **MUST** be
  * considered to be identifying the same service:
  *
- * * `service.name=frontend`, `deployment.environment.name=production`
- * * `service.name=frontend`, `deployment.environment.name=staging`.
+ *   - `service.name=frontend`, `deployment.environment.name=production`
+ *   - `service.name=frontend`, `deployment.environment.name=staging`.
  • Improvement: better reflow of multi-line blockquotes. E.g.:
@@ -3685,9 +3562,9 @@ export const ATTR_K8S_CLUSTER_NAME = 'k8s.cluster.name' as const;
  * Which states:
  *
  * > If generated according to one of the mechanisms defined in Rec.
- *   ITU-T X.667 | ISO/IEC 9834-8, a UUID is either guaranteed to be
- *   different from all other UUIDs generated before 3603 A.D., or is
- *   extremely likely to be different (depending on the mechanism chosen).
+ * > ITU-T X.667 | ISO/IEC 9834-8, a UUID is either guaranteed to be
+ * > different from all other UUIDs generated before 3603 A.D., or is
+ * > extremely likely to be different (depending on the mechanism chosen).
  • Improvement: fix a spurious blank line in comment for many METRIC_ consts. E.g.:
@@ -916,22 +912,16 @@ export const METRIC_SYSTEM_DISK_MERGED = 'system.disk.merged' as const;
 export const METRIC_SYSTEM_DISK_OPERATION_TIME = 'system.disk.operation_time' as const;

 /**
-
- *
  * @experimental This metric is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`.
  */
 export const METRIC_SYSTEM_DISK_OPERATIONS = 'system.disk.operations' as const;
  • Improvement: The emphasis on SHOULD et al RFC 2119 words (by strong_reqs in "dockstring.ts.j2") has been slightly improved using the replace_regex weaver filter. Also the "RECOMMENDED" RFC 2119 word was added to the list. E.g.:
@@ -1460,9 +1460,9 @@ export const DB_CLIENT_CONNECTIONS_STATE_VALUE_USED = "used" as const;
  * @example public.users
  * @example customers
  *
- * @note It is RECOMMENDED to capture the value as provided by the application without attempting to do any case normalization.
+ * @note It is **RECOMMENDED** to capture the value as provided by the application without attempting to do any case normalization.
  * If the collection name is parsed from the query text, it **SHOULD** be the first collection name found in the query and it **SHOULD** match the value provided in the query text including any schema and database name prefix.
 /**
  * The JSON-serialized value of each item in the `AttributeDefinitions` request field.
- *
+ * 
  * @example { "AttributeName": "string", "AttributeType": "string" }

There is once curio here in the comment for ATTR_DB_CONNECTION_STRING.
Why the double-quotes? Why the extra newline?
…ent_with_prefix

This slightly improves newlines (multiple '@example' jsdoc tags are cuddled
together) and some markdown formatting of content is improved (list item
bullets and indentation, reflow of blockquote). The current cost is
a trailing space on blank comment lines: ' * ', rather than ' *'.
I think the weaver 'comment' filter should handle this.
@trentm trentm requested a review from dyladan October 30, 2024 22:36
@trentm trentm requested a review from a team as a code owner October 30, 2024 22:36
Copy link

codecov bot commented Oct 30, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 93.17%. Comparing base (87bd98e) to head (bf00f2a).
Report is 1 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #5100      +/-   ##
==========================================
- Coverage   93.18%   93.17%   -0.02%     
==========================================
  Files         315      315              
  Lines        8086     8086              
  Branches     1617     1617              
==========================================
- Hits         7535     7534       -1     
- Misses        551      552       +1     

see 1 file with indirect coverage changes

@trentm trentm self-assigned this Oct 30, 2024
@JamieDanielson
Copy link
Member

Improvment: cuddle multiple @examples ... together.

There's a chance this was intentional to ensure examples showed as two separate examples in the file, can we revisit?

@trentm
Copy link
Contributor Author

trentm commented Nov 6, 2024

TODOne(trent):

  • follow up on @example rendering: not an issue
  • follow up on the emphasis issue when it is the first word: fixed in commit 2babf73

@trentm
Copy link
Contributor Author

trentm commented Nov 6, 2024

  • follow up on @example rendering

From Dan on OTel JS SIG: "realtime follow-up: blank line between examples doesn’t do anything" I.e. all good as is.

@trentm
Copy link
Contributor Author

trentm commented Nov 8, 2024

The last commit fixes the issue with not marking up "SHOULD" et al words if they are the start of a text section.

@trentm
Copy link
Contributor Author

trentm commented Nov 8, 2024

@dyladan Ready for your blessing/cursing now.

Copy link
Member

@dyladan dyladan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@@ -1,21 +1,34 @@
{% macro strong_reqs(string) -%}{{ string | replace(" MUST ", " **MUST** ") | replace(" MUST NOT ", " **MUST NOT** ") | replace(" SHOULD ", " **SHOULD** ") | replace(" SHOULD NOT ", " **SHOULD NOT** ") | replace(" MAY ", " **MAY** ") | replace(" NOT ", " **NOT** ") }}{% endmacro -%}
{% macro strong_rfc2119(string) -%}{{ string | regex_replace("\\b(MUST NOT|MUST|REQUIRED|SHALL NOT|SHALL|SHOULD NOT|SHOULD|RECOMMENDED|MAY|OPTIONAL)\\b", "**$1**") }}{% endmacro -%}
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I support the strong_rfc2119 renaming. More clear what's actually going on.

@trentm
Copy link
Contributor Author

trentm commented Nov 8, 2024

I assume https://github.com/open-telemetry/semantic-conventions/releases/tag/v1.28.0 is next?

Yes.

I had been considering doing something for #5025 as well, possibly before a v1.28.0 tag release. I'll try to get to those today.

@trentm trentm added this pull request to the merge queue Nov 8, 2024
Merged via the queue into open-telemetry:main with commit 4b5c21c Nov 8, 2024
21 checks passed
@trentm trentm deleted the tm-semconv-play-1.28 branch November 8, 2024 20:32
povilasv pushed a commit to povilasv/opentelemetry-js that referenced this pull request Nov 11, 2024
newkdr added a commit to newkdr/vscode-gitlens that referenced this pull request Dec 24, 2024
![snyk-top-banner](https://redirect.github.com/andygongea/OWASP-Benchmark/assets/818805/c518c423-16fe-447e-b67f-ad5a49b5d123)


<h3>Snyk has created this PR to upgrade @opentelemetry/resources from
1.27.0 to 1.28.0.</h3>

:information_source: Keep your dependencies up-to-date. This makes it
easier to fix existing vulnerabilities and to more quickly identify and
fix newly disclosed vulnerabilities when they affect your project.

<hr/>


- The recommended version is **1 version** ahead of your current
version.

- The recommended version was released **a month ago**.



<details>
<summary><b>Release notes</b></summary>
<br/>
  <details>
    <summary>Package name: <b>@opentelemetry/resources</b></summary>
    <ul>
      <li>
<b>1.28.0</b> - <a
href="https://redirect.github.com/open-telemetry/opentelemetry-js/releases/tag/semconv%2Fv1.28.0">2024-11-18</a></br><h2>1.28.0</h2>
<h3>🚀 (Enhancement)</h3>
<ul>
<li>feat: update semantic conventions to 1.28.0 <a
href="https://redirect.github.com/open-telemetry/opentelemetry-js/pull/5181"
data-hovercard-type="pull_request"
data-hovercard-url="/open-telemetry/opentelemetry-js/pull/5181/hovercard">#5181</a>
<a class="user-mention notranslate" data-hovercard-type="user"
data-hovercard-url="/users/trentm/hovercard"
data-octo-click="hovercard-link-click"
data-octo-dimensions="link_type:self"
href="https://redirect.github.com/trentm">@ trentm</a></li>
</ul>
<h3>📚 (Refine Doc)</h3>
<ul>
<li>chore: Improve documentation on entry-points (top-level and
"incubating") and on deprecations. <a
href="https://redirect.github.com/open-telemetry/opentelemetry-js/issues/5025"
data-hovercard-type="issue"
data-hovercard-url="/open-telemetry/opentelemetry-js/issues/5025/hovercard">#5025</a>
<a class="user-mention notranslate" data-hovercard-type="user"
data-hovercard-url="/users/trentm/hovercard"
data-octo-click="hovercard-link-click"
data-octo-dimensions="link_type:self"
href="https://redirect.github.com/trentm">@ trentm</a></li>
</ul>
<h3>🏠 (Internal)</h3>
<ul>
<li>chore: Update the comments of some deprecated constants to point to
the currently relevant replacement constant, if any. <a
href="https://redirect.github.com/open-telemetry/opentelemetry-js/pull/5160"
data-hovercard-type="pull_request"
data-hovercard-url="/open-telemetry/opentelemetry-js/pull/5160/hovercard">#5160</a>
<a class="user-mention notranslate" data-hovercard-type="user"
data-hovercard-url="/users/trentm/hovercard"
data-octo-click="hovercard-link-click"
data-octo-dimensions="link_type:self"
href="https://redirect.github.com/trentm">@ trentm</a></li>
<li>chore: Minor improvements to formatting of comments. <a
href="https://redirect.github.com/open-telemetry/opentelemetry-js/pull/5100"
data-hovercard-type="pull_request"
data-hovercard-url="/open-telemetry/opentelemetry-js/pull/5100/hovercard">#5100</a>
<a class="user-mention notranslate" data-hovercard-type="user"
data-hovercard-url="/users/trentm/hovercard"
data-octo-click="hovercard-link-click"
data-octo-dimensions="link_type:self"
href="https://redirect.github.com/trentm">@ trentm</a></li>
</ul>
      </li>
      <li>
<b>1.27.0</b> - <a
href="https://redirect.github.com/open-telemetry/opentelemetry-js/releases/tag/v1.27.0">2024-10-23</a></br><h2>1.27.0</h2>
<h3>🚀 (Enhancement)</h3>
<ul>
<li>feat: add processors for adding session.id attribute to spans and
logs <a
href="https://redirect.github.com/open-telemetry/opentelemetry-js/pull/4972"
data-hovercard-type="pull_request"
data-hovercard-url="/open-telemetry/opentelemetry-js/pull/4972/hovercard">#4972</a></li>
</ul>
<h3>🐛 (Bug Fix)</h3>
<ul>
<li>fix(sdk-trace-base): avoid keeping non-string
<code>status.message</code> on <code>Span#setStatus()</code> <a
href="https://redirect.github.com/open-telemetry/opentelemetry-js/pull/4999"
data-hovercard-type="pull_request"
data-hovercard-url="/open-telemetry/opentelemetry-js/pull/4999/hovercard">#4999</a>
<a class="user-mention notranslate" data-hovercard-type="user"
data-hovercard-url="/users/pichlermarc/hovercard"
data-octo-click="hovercard-link-click"
data-octo-dimensions="link_type:self"
href="https://redirect.github.com/pichlermarc">@ pichlermarc</a></li>
<li>fix(sdk-metrics): Add missing catch and handle error in promise of
<code>PeriodicExportingMetricReader</code> <a
href="https://redirect.github.com/open-telemetry/opentelemetry-js/pull/5006"
data-hovercard-type="pull_request"
data-hovercard-url="/open-telemetry/opentelemetry-js/pull/5006/hovercard">#5006</a>
<a class="user-mention notranslate" data-hovercard-type="user"
data-hovercard-url="/users/jj22ee/hovercard"
data-octo-click="hovercard-link-click"
data-octo-dimensions="link_type:self"
href="https://redirect.github.com/jj22ee">@ jj22ee</a></li>
<li>fix(opentelemetry-core): confusing log extract of composite
propagator <a
href="https://redirect.github.com/open-telemetry/opentelemetry-js/pull/5017"
data-hovercard-type="pull_request"
data-hovercard-url="/open-telemetry/opentelemetry-js/pull/5017/hovercard">#5017</a>
<a class="user-mention notranslate" data-hovercard-type="user"
data-hovercard-url="/users/rv2673/hovercard"
data-octo-click="hovercard-link-click"
data-octo-dimensions="link_type:self"
href="https://redirect.github.com/rv2673">@ rv2673</a></li>
<li>fix(propagator-aws-xray-*): move propagators back to contrib
repository <a
href="https://redirect.github.com/open-telemetry/opentelemetry-js/pull/4966"
data-hovercard-type="pull_request"
data-hovercard-url="/open-telemetry/opentelemetry-js/pull/4966/hovercard">#4966</a>
<a class="user-mention notranslate" data-hovercard-type="user"
data-hovercard-url="/users/pichlermarc/hovercard"
data-octo-click="hovercard-link-click"
data-octo-dimensions="link_type:self"
href="https://redirect.github.com/pichlermarc">@ pichlermarc</a>
<ul>
<li>The <a
href="https://redirect.github.com/open-telemetry/opentelemetry-specification/blob/6672dbc97ddeb34f36c020a0f0a30323c8bc4d95/specification/context/api-propagators.md?plain=1#L354-L356">specification</a>
prohibits hosting these packages in the core repository</li>
<li><code>@ opentelemetry/propagator-aws-xray</code> is now located in
<a
href="https://redirect.github.com/open-telemetry/opentelemetry-js-contrib">open-telemetry/opentelemetry-js-contrib</a></li>
<li><code>@ opentelemetry/propagator-aws-xray-lambda</code> is now
located in <a
href="https://redirect.github.com/open-telemetry/opentelemetry-js-contrib">open-telemetry/opentelemetry-js-contrib</a></li>
</ul>
</li>
</ul>
<h3>🏠 (Internal)</h3>
<ul>
<li>deps: set <code>@ opentelemetry/api</code> dependency min version to
1.3.0 in <code>examples</code>, <code>experimental/packages</code>,
<code>integration-tests</code> and <code>selenium-tests</code><br>
<a
href="https://redirect.github.com/open-telemetry/opentelemetry-js/pull/4992"
data-hovercard-type="pull_request"
data-hovercard-url="/open-telemetry/opentelemetry-js/pull/4992/hovercard">#4992</a></li>
<li>refactor(sdk-metrics): replace <code>MetricsAttributes</code> with
<code>Attributes</code> <a
href="https://redirect.github.com/open-telemetry/opentelemetry-js/pull/5021"
data-hovercard-type="pull_request"
data-hovercard-url="/open-telemetry/opentelemetry-js/pull/5021/hovercard">#5021</a>
<a class="user-mention notranslate" data-hovercard-type="user"
data-hovercard-url="/users/david-luna/hovercard"
data-octo-click="hovercard-link-click"
data-octo-dimensions="link_type:self"
href="https://redirect.github.com/david-luna">@ david-luna</a></li>
<li>refactor(instrumentation-http): replace <code>SpanAttributes</code>
and <code>MetricsAttributes</code> with <code>Attributes</code> <a
href="https://redirect.github.com/open-telemetry/opentelemetry-js/pull/5023"
data-hovercard-type="pull_request"
data-hovercard-url="/open-telemetry/opentelemetry-js/pull/5023/hovercard">#5023</a>
<a class="user-mention notranslate" data-hovercard-type="user"
data-hovercard-url="/users/david-luna/hovercard"
data-octo-click="hovercard-link-click"
data-octo-dimensions="link_type:self"
href="https://redirect.github.com/david-luna">@ david-luna</a></li>
<li>chore(exporter-zipkin): remove usages of Span constructor <a
href="https://redirect.github.com/open-telemetry/opentelemetry-js/pull/5030"
data-hovercard-type="pull_request"
data-hovercard-url="/open-telemetry/opentelemetry-js/pull/5030/hovercard">#5030</a>
<a class="user-mention notranslate" data-hovercard-type="user"
data-hovercard-url="/users/david-luna/hovercard"
data-octo-click="hovercard-link-click"
data-octo-dimensions="link_type:self"
href="https://redirect.github.com/david-luna">@ david-luna</a></li>
<li>test(instrumentation-http): remove usages of <code>new Span</code>
in tests <a
href="https://redirect.github.com/open-telemetry/opentelemetry-js/pull/5035"
data-hovercard-type="pull_request"
data-hovercard-url="/open-telemetry/opentelemetry-js/pull/5035/hovercard">#5035</a>
<a class="user-mention notranslate" data-hovercard-type="user"
data-hovercard-url="/users/david-luna/hovercard"
data-octo-click="hovercard-link-click"
data-octo-dimensions="link_type:self"
href="https://redirect.github.com/david-luna">@ david-luna</a></li>
</ul>
      </li>
    </ul>
from <a
href="https://redirect.github.com/open-telemetry/opentelemetry-js/releases">@opentelemetry/resources
GitHub release notes</a>
  </details>
</details>

---

> [!IMPORTANT]
>
> - Check the changes in this PR to ensure they won't cause issues with
your project.
> - This PR was automatically created by Snyk using the credentials of a
real user.

---

**Note:** _You are seeing this because you or someone else with access
to this repository has authorized Snyk to open upgrade PRs._

**For more information:** <img
src="https://api.segment.io/v1/pixel/track?data=eyJ3cml0ZUtleSI6InJyWmxZcEdHY2RyTHZsb0lYd0dUcVg4WkFRTnNCOUEwIiwiYW5vbnltb3VzSWQiOiI3NmZlY2E0OC0xYzFkLTRiOTItOGMzNC1lYmNkNzM3ODg3MTciLCJldmVudCI6IlBSIHZpZXdlZCIsInByb3BlcnRpZXMiOnsicHJJZCI6Ijc2ZmVjYTQ4LTFjMWQtNGI5Mi04YzM0LWViY2Q3Mzc4ODcxNyJ9fQ=="
width="0" height="0"/>

> - 🧐 [View latest project
report](https://app.snyk.io/org/newkdr/project/12a8a5f5-3e19-438c-8280-eb8f4ee06d17?utm_source&#x3D;github&amp;utm_medium&#x3D;referral&amp;page&#x3D;upgrade-pr)
> - 📜 [Customise PR
templates](https://docs.snyk.io/scan-using-snyk/pull-requests/snyk-fix-pull-or-merge-requests/customize-pr-templates?utm_source=&utm_content=fix-pr-template)
> - 🛠 [Adjust upgrade PR
settings](https://app.snyk.io/org/newkdr/project/12a8a5f5-3e19-438c-8280-eb8f4ee06d17/settings/integration?utm_source&#x3D;github&amp;utm_medium&#x3D;referral&amp;page&#x3D;upgrade-pr)
> - 🔕 [Ignore this dependency or unsubscribe from future upgrade
PRs](https://app.snyk.io/org/newkdr/project/12a8a5f5-3e19-438c-8280-eb8f4ee06d17/settings/integration?pkg&#x3D;@opentelemetry/resources&amp;utm_source&#x3D;github&amp;utm_medium&#x3D;referral&amp;page&#x3D;upgrade-pr#auto-dep-upgrades)

[//]: #
'snyk:metadata:{"customTemplate":{"variablesUsed":[],"fieldsUsed":[]},"dependencies":[{"name":"@opentelemetry/resources","from":"1.27.0","to":"1.28.0"}],"env":"prod","hasFixes":false,"isBreakingChange":false,"isMajorUpgrade":false,"issuesToFix":[],"prId":"76feca48-1c1d-4b92-8c34-ebcd73788717","prPublicId":"76feca48-1c1d-4b92-8c34-ebcd73788717","packageManager":"npm","priorityScoreList":[],"projectPublicId":"12a8a5f5-3e19-438c-8280-eb8f4ee06d17","projectUrl":"https://app.snyk.io/org/newkdr/project/12a8a5f5-3e19-438c-8280-eb8f4ee06d17?utm_source=github&utm_medium=referral&page=upgrade-pr","prType":"upgrade","templateFieldSources":{"branchName":"default","commitMessage":"default","description":"default","title":"default"},"templateVariants":[],"type":"auto","upgrade":[],"upgradeInfo":{"versionsDiff":1,"publishedDate":"2024-11-18T10:41:43.016Z"},"vulns":[]}'
newkdr added a commit to newkdr/vscode-gitlens that referenced this pull request Dec 24, 2024
…8.0 (#12)

![snyk-top-banner](https://redirect.github.com/andygongea/OWASP-Benchmark/assets/818805/c518c423-16fe-447e-b67f-ad5a49b5d123)


<h3>Snyk has created this PR to upgrade
@opentelemetry/semantic-conventions from 1.27.0 to 1.28.0.</h3>

:information_source: Keep your dependencies up-to-date. This makes it
easier to fix existing vulnerabilities and to more quickly identify and
fix newly disclosed vulnerabilities when they affect your project.

<hr/>


- The recommended version is **1 version** ahead of your current
version.

- The recommended version was released **a month ago**.



<details>
<summary><b>Release notes</b></summary>
<br/>
  <details>
<summary>Package name:
<b>@opentelemetry/semantic-conventions</b></summary>
    <ul>
      <li>
<b>1.28.0</b> - <a
href="https://redirect.github.com/open-telemetry/opentelemetry-js/releases/tag/semconv%2Fv1.28.0">2024-11-20</a></br><h2>1.28.0</h2>
<h3>🚀 (Enhancement)</h3>
<ul>
<li>feat: update semantic conventions to 1.28.0 <a
href="https://redirect.github.com/open-telemetry/opentelemetry-js/pull/5181"
data-hovercard-type="pull_request"
data-hovercard-url="/open-telemetry/opentelemetry-js/pull/5181/hovercard">#5181</a>
<a class="user-mention notranslate" data-hovercard-type="user"
data-hovercard-url="/users/trentm/hovercard"
data-octo-click="hovercard-link-click"
data-octo-dimensions="link_type:self"
href="https://redirect.github.com/trentm">@ trentm</a></li>
</ul>
<h3>📚 (Refine Doc)</h3>
<ul>
<li>chore: Improve documentation on entry-points (top-level and
"incubating") and on deprecations. <a
href="https://redirect.github.com/open-telemetry/opentelemetry-js/issues/5025"
data-hovercard-type="issue"
data-hovercard-url="/open-telemetry/opentelemetry-js/issues/5025/hovercard">#5025</a>
<a class="user-mention notranslate" data-hovercard-type="user"
data-hovercard-url="/users/trentm/hovercard"
data-octo-click="hovercard-link-click"
data-octo-dimensions="link_type:self"
href="https://redirect.github.com/trentm">@ trentm</a></li>
</ul>
<h3>🏠 (Internal)</h3>
<ul>
<li>chore: Update the comments of some deprecated constants to point to
the currently relevant replacement constant, if any. <a
href="https://redirect.github.com/open-telemetry/opentelemetry-js/pull/5160"
data-hovercard-type="pull_request"
data-hovercard-url="/open-telemetry/opentelemetry-js/pull/5160/hovercard">#5160</a>
<a class="user-mention notranslate" data-hovercard-type="user"
data-hovercard-url="/users/trentm/hovercard"
data-octo-click="hovercard-link-click"
data-octo-dimensions="link_type:self"
href="https://redirect.github.com/trentm">@ trentm</a></li>
<li>chore: Minor improvements to formatting of comments. <a
href="https://redirect.github.com/open-telemetry/opentelemetry-js/pull/5100"
data-hovercard-type="pull_request"
data-hovercard-url="/open-telemetry/opentelemetry-js/pull/5100/hovercard">#5100</a>
<a class="user-mention notranslate" data-hovercard-type="user"
data-hovercard-url="/users/trentm/hovercard"
data-octo-click="hovercard-link-click"
data-octo-dimensions="link_type:self"
href="https://redirect.github.com/trentm">@ trentm</a></li>
</ul>
      </li>
      <li>
<b>1.27.0</b> - <a
href="https://redirect.github.com/open-telemetry/opentelemetry-js/releases/tag/v1.27.0">2024-08-28</a></br><h2>1.27.0</h2>
<h3>🚀 (Enhancement)</h3>
<ul>
<li>feat: add processors for adding session.id attribute to spans and
logs <a
href="https://redirect.github.com/open-telemetry/opentelemetry-js/pull/4972"
data-hovercard-type="pull_request"
data-hovercard-url="/open-telemetry/opentelemetry-js/pull/4972/hovercard">#4972</a></li>
</ul>
<h3>🐛 (Bug Fix)</h3>
<ul>
<li>fix(sdk-trace-base): avoid keeping non-string
<code>status.message</code> on <code>Span#setStatus()</code> <a
href="https://redirect.github.com/open-telemetry/opentelemetry-js/pull/4999"
data-hovercard-type="pull_request"
data-hovercard-url="/open-telemetry/opentelemetry-js/pull/4999/hovercard">#4999</a>
<a class="user-mention notranslate" data-hovercard-type="user"
data-hovercard-url="/users/pichlermarc/hovercard"
data-octo-click="hovercard-link-click"
data-octo-dimensions="link_type:self"
href="https://redirect.github.com/pichlermarc">@ pichlermarc</a></li>
<li>fix(sdk-metrics): Add missing catch and handle error in promise of
<code>PeriodicExportingMetricReader</code> <a
href="https://redirect.github.com/open-telemetry/opentelemetry-js/pull/5006"
data-hovercard-type="pull_request"
data-hovercard-url="/open-telemetry/opentelemetry-js/pull/5006/hovercard">#5006</a>
<a class="user-mention notranslate" data-hovercard-type="user"
data-hovercard-url="/users/jj22ee/hovercard"
data-octo-click="hovercard-link-click"
data-octo-dimensions="link_type:self"
href="https://redirect.github.com/jj22ee">@ jj22ee</a></li>
<li>fix(opentelemetry-core): confusing log extract of composite
propagator <a
href="https://redirect.github.com/open-telemetry/opentelemetry-js/pull/5017"
data-hovercard-type="pull_request"
data-hovercard-url="/open-telemetry/opentelemetry-js/pull/5017/hovercard">#5017</a>
<a class="user-mention notranslate" data-hovercard-type="user"
data-hovercard-url="/users/rv2673/hovercard"
data-octo-click="hovercard-link-click"
data-octo-dimensions="link_type:self"
href="https://redirect.github.com/rv2673">@ rv2673</a></li>
<li>fix(propagator-aws-xray-*): move propagators back to contrib
repository <a
href="https://redirect.github.com/open-telemetry/opentelemetry-js/pull/4966"
data-hovercard-type="pull_request"
data-hovercard-url="/open-telemetry/opentelemetry-js/pull/4966/hovercard">#4966</a>
<a class="user-mention notranslate" data-hovercard-type="user"
data-hovercard-url="/users/pichlermarc/hovercard"
data-octo-click="hovercard-link-click"
data-octo-dimensions="link_type:self"
href="https://redirect.github.com/pichlermarc">@ pichlermarc</a>
<ul>
<li>The <a
href="https://redirect.github.com/open-telemetry/opentelemetry-specification/blob/6672dbc97ddeb34f36c020a0f0a30323c8bc4d95/specification/context/api-propagators.md?plain=1#L354-L356">specification</a>
prohibits hosting these packages in the core repository</li>
<li><code>@ opentelemetry/propagator-aws-xray</code> is now located in
<a
href="https://redirect.github.com/open-telemetry/opentelemetry-js-contrib">open-telemetry/opentelemetry-js-contrib</a></li>
<li><code>@ opentelemetry/propagator-aws-xray-lambda</code> is now
located in <a
href="https://redirect.github.com/open-telemetry/opentelemetry-js-contrib">open-telemetry/opentelemetry-js-contrib</a></li>
</ul>
</li>
</ul>
<h3>🏠 (Internal)</h3>
<ul>
<li>deps: set <code>@ opentelemetry/api</code> dependency min version to
1.3.0 in <code>examples</code>, <code>experimental/packages</code>,
<code>integration-tests</code> and <code>selenium-tests</code><br>
<a
href="https://redirect.github.com/open-telemetry/opentelemetry-js/pull/4992"
data-hovercard-type="pull_request"
data-hovercard-url="/open-telemetry/opentelemetry-js/pull/4992/hovercard">#4992</a></li>
<li>refactor(sdk-metrics): replace <code>MetricsAttributes</code> with
<code>Attributes</code> <a
href="https://redirect.github.com/open-telemetry/opentelemetry-js/pull/5021"
data-hovercard-type="pull_request"
data-hovercard-url="/open-telemetry/opentelemetry-js/pull/5021/hovercard">#5021</a>
<a class="user-mention notranslate" data-hovercard-type="user"
data-hovercard-url="/users/david-luna/hovercard"
data-octo-click="hovercard-link-click"
data-octo-dimensions="link_type:self"
href="https://redirect.github.com/david-luna">@ david-luna</a></li>
<li>refactor(instrumentation-http): replace <code>SpanAttributes</code>
and <code>MetricsAttributes</code> with <code>Attributes</code> <a
href="https://redirect.github.com/open-telemetry/opentelemetry-js/pull/5023"
data-hovercard-type="pull_request"
data-hovercard-url="/open-telemetry/opentelemetry-js/pull/5023/hovercard">#5023</a>
<a class="user-mention notranslate" data-hovercard-type="user"
data-hovercard-url="/users/david-luna/hovercard"
data-octo-click="hovercard-link-click"
data-octo-dimensions="link_type:self"
href="https://redirect.github.com/david-luna">@ david-luna</a></li>
<li>chore(exporter-zipkin): remove usages of Span constructor <a
href="https://redirect.github.com/open-telemetry/opentelemetry-js/pull/5030"
data-hovercard-type="pull_request"
data-hovercard-url="/open-telemetry/opentelemetry-js/pull/5030/hovercard">#5030</a>
<a class="user-mention notranslate" data-hovercard-type="user"
data-hovercard-url="/users/david-luna/hovercard"
data-octo-click="hovercard-link-click"
data-octo-dimensions="link_type:self"
href="https://redirect.github.com/david-luna">@ david-luna</a></li>
<li>test(instrumentation-http): remove usages of <code>new Span</code>
in tests <a
href="https://redirect.github.com/open-telemetry/opentelemetry-js/pull/5035"
data-hovercard-type="pull_request"
data-hovercard-url="/open-telemetry/opentelemetry-js/pull/5035/hovercard">#5035</a>
<a class="user-mention notranslate" data-hovercard-type="user"
data-hovercard-url="/users/david-luna/hovercard"
data-octo-click="hovercard-link-click"
data-octo-dimensions="link_type:self"
href="https://redirect.github.com/david-luna">@ david-luna</a></li>
</ul>
      </li>
    </ul>
from <a
href="https://redirect.github.com/open-telemetry/opentelemetry-js/releases">@opentelemetry/semantic-conventions
GitHub release notes</a>
  </details>
</details>

---

> [!IMPORTANT]
>
> - Check the changes in this PR to ensure they won't cause issues with
your project.
> - This PR was automatically created by Snyk using the credentials of a
real user.

---

**Note:** _You are seeing this because you or someone else with access
to this repository has authorized Snyk to open upgrade PRs._

**For more information:** <img
src="https://api.segment.io/v1/pixel/track?data=eyJ3cml0ZUtleSI6InJyWmxZcEdHY2RyTHZsb0lYd0dUcVg4WkFRTnNCOUEwIiwiYW5vbnltb3VzSWQiOiIzMTNmOWJhMy0yZmY0LTQ3Y2YtYjQ0Yi05YTg5NjY4NTFkMTgiLCJldmVudCI6IlBSIHZpZXdlZCIsInByb3BlcnRpZXMiOnsicHJJZCI6IjMxM2Y5YmEzLTJmZjQtNDdjZi1iNDRiLTlhODk2Njg1MWQxOCJ9fQ=="
width="0" height="0"/>

> - 🧐 [View latest project
report](https://app.snyk.io/org/newkdr/project/12a8a5f5-3e19-438c-8280-eb8f4ee06d17?utm_source&#x3D;github&amp;utm_medium&#x3D;referral&amp;page&#x3D;upgrade-pr)
> - 📜 [Customise PR
templates](https://docs.snyk.io/scan-using-snyk/pull-requests/snyk-fix-pull-or-merge-requests/customize-pr-templates?utm_source=&utm_content=fix-pr-template)
> - 🛠 [Adjust upgrade PR
settings](https://app.snyk.io/org/newkdr/project/12a8a5f5-3e19-438c-8280-eb8f4ee06d17/settings/integration?utm_source&#x3D;github&amp;utm_medium&#x3D;referral&amp;page&#x3D;upgrade-pr)
> - 🔕 [Ignore this dependency or unsubscribe from future upgrade
PRs](https://app.snyk.io/org/newkdr/project/12a8a5f5-3e19-438c-8280-eb8f4ee06d17/settings/integration?pkg&#x3D;@opentelemetry/semantic-conventions&amp;utm_source&#x3D;github&amp;utm_medium&#x3D;referral&amp;page&#x3D;upgrade-pr#auto-dep-upgrades)

[//]: #
'snyk:metadata:{"customTemplate":{"variablesUsed":[],"fieldsUsed":[]},"dependencies":[{"name":"@opentelemetry/semantic-conventions","from":"1.27.0","to":"1.28.0"}],"env":"prod","hasFixes":false,"isBreakingChange":false,"isMajorUpgrade":false,"issuesToFix":[],"prId":"313f9ba3-2ff4-47cf-b44b-9a8966851d18","prPublicId":"313f9ba3-2ff4-47cf-b44b-9a8966851d18","packageManager":"npm","priorityScoreList":[],"projectPublicId":"12a8a5f5-3e19-438c-8280-eb8f4ee06d17","projectUrl":"https://app.snyk.io/org/newkdr/project/12a8a5f5-3e19-438c-8280-eb8f4ee06d17?utm_source=github&utm_medium=referral&page=upgrade-pr","prType":"upgrade","templateFieldSources":{"branchName":"default","commitMessage":"default","description":"default","title":"default"},"templateVariants":[],"type":"auto","upgrade":[],"upgradeInfo":{"versionsDiff":1,"publishedDate":"2024-11-20T20:31:21.818Z"},"vulns":[]}'
newkdr added a commit to newkdr/vscode-gitlens that referenced this pull request Jan 1, 2025
![snyk-top-banner](https://redirect.github.com/andygongea/OWASP-Benchmark/assets/818805/c518c423-16fe-447e-b67f-ad5a49b5d123)


<h3>Snyk has created this PR to upgrade @opentelemetry/resources from
1.28.0 to 1.29.0.</h3>

:information_source: Keep your dependencies up-to-date. This makes it
easier to fix existing vulnerabilities and to more quickly identify and
fix newly disclosed vulnerabilities when they affect your project.

<hr/>


- The recommended version is **1 version** ahead of your current
version.

- The recommended version was released **a month ago**.



<details>
<summary><b>Release notes</b></summary>
<br/>
  <details>
    <summary>Package name: <b>@opentelemetry/resources</b></summary>
    <ul>
      <li>
<b>1.29.0</b> - <a
href="https://redirect.github.com/open-telemetry/opentelemetry-js/releases/tag/v1.29.0">2024-12-04</a></br><h2>1.29.0</h2>
<h3>🚀 (Enhancement)</h3>
<ul>
<li>feat(sdk-metrics): Add support for aggregation cardinality limit
with a default limit of 2000. This limit can be customized via views <a
href="https://redirect.github.com/open-telemetry/opentelemetry-js/pull/5128"
data-hovercard-type="pull_request"
data-hovercard-url="/open-telemetry/opentelemetry-js/pull/5128/hovercard">#5128</a></li>
</ul>
      </li>
      <li>
<b>1.28.0</b> - <a
href="https://redirect.github.com/open-telemetry/opentelemetry-js/releases/tag/semconv%2Fv1.28.0">2024-11-18</a></br><h2>1.28.0</h2>
<h3>🚀 (Enhancement)</h3>
<ul>
<li>feat: update semantic conventions to 1.28.0 <a
href="https://redirect.github.com/open-telemetry/opentelemetry-js/pull/5181"
data-hovercard-type="pull_request"
data-hovercard-url="/open-telemetry/opentelemetry-js/pull/5181/hovercard">#5181</a>
<a class="user-mention notranslate" data-hovercard-type="user"
data-hovercard-url="/users/trentm/hovercard"
data-octo-click="hovercard-link-click"
data-octo-dimensions="link_type:self"
href="https://redirect.github.com/trentm">@ trentm</a></li>
</ul>
<h3>📚 (Refine Doc)</h3>
<ul>
<li>chore: Improve documentation on entry-points (top-level and
"incubating") and on deprecations. <a
href="https://redirect.github.com/open-telemetry/opentelemetry-js/issues/5025"
data-hovercard-type="issue"
data-hovercard-url="/open-telemetry/opentelemetry-js/issues/5025/hovercard">#5025</a>
<a class="user-mention notranslate" data-hovercard-type="user"
data-hovercard-url="/users/trentm/hovercard"
data-octo-click="hovercard-link-click"
data-octo-dimensions="link_type:self"
href="https://redirect.github.com/trentm">@ trentm</a></li>
</ul>
<h3>🏠 (Internal)</h3>
<ul>
<li>chore: Update the comments of some deprecated constants to point to
the currently relevant replacement constant, if any. <a
href="https://redirect.github.com/open-telemetry/opentelemetry-js/pull/5160"
data-hovercard-type="pull_request"
data-hovercard-url="/open-telemetry/opentelemetry-js/pull/5160/hovercard">#5160</a>
<a class="user-mention notranslate" data-hovercard-type="user"
data-hovercard-url="/users/trentm/hovercard"
data-octo-click="hovercard-link-click"
data-octo-dimensions="link_type:self"
href="https://redirect.github.com/trentm">@ trentm</a></li>
<li>chore: Minor improvements to formatting of comments. <a
href="https://redirect.github.com/open-telemetry/opentelemetry-js/pull/5100"
data-hovercard-type="pull_request"
data-hovercard-url="/open-telemetry/opentelemetry-js/pull/5100/hovercard">#5100</a>
<a class="user-mention notranslate" data-hovercard-type="user"
data-hovercard-url="/users/trentm/hovercard"
data-octo-click="hovercard-link-click"
data-octo-dimensions="link_type:self"
href="https://redirect.github.com/trentm">@ trentm</a></li>
</ul>
      </li>
    </ul>
from <a
href="https://redirect.github.com/open-telemetry/opentelemetry-js/releases">@opentelemetry/resources
GitHub release notes</a>
  </details>
</details>

---

> [!IMPORTANT]
>
> - Check the changes in this PR to ensure they won't cause issues with
your project.
> - This PR was automatically created by Snyk using the credentials of a
real user.

---

**Note:** _You are seeing this because you or someone else with access
to this repository has authorized Snyk to open upgrade PRs._

**For more information:** <img
src="https://api.segment.io/v1/pixel/track?data=eyJ3cml0ZUtleSI6InJyWmxZcEdHY2RyTHZsb0lYd0dUcVg4WkFRTnNCOUEwIiwiYW5vbnltb3VzSWQiOiI1MDBhZWI5ZC1jZGQ2LTQ5Y2QtOTEzOC1iZGM4YTUwZGNjYjkiLCJldmVudCI6IlBSIHZpZXdlZCIsInByb3BlcnRpZXMiOnsicHJJZCI6IjUwMGFlYjlkLWNkZDYtNDljZC05MTM4LWJkYzhhNTBkY2NiOSJ9fQ=="
width="0" height="0"/>

> - 🧐 [View latest project
report](https://app.snyk.io/org/newkdr/project/12a8a5f5-3e19-438c-8280-eb8f4ee06d17?utm_source&#x3D;github&amp;utm_medium&#x3D;referral&amp;page&#x3D;upgrade-pr)
> - 📜 [Customise PR
templates](https://docs.snyk.io/scan-using-snyk/pull-requests/snyk-fix-pull-or-merge-requests/customize-pr-templates?utm_source=&utm_content=fix-pr-template)
> - 🛠 [Adjust upgrade PR
settings](https://app.snyk.io/org/newkdr/project/12a8a5f5-3e19-438c-8280-eb8f4ee06d17/settings/integration?utm_source&#x3D;github&amp;utm_medium&#x3D;referral&amp;page&#x3D;upgrade-pr)
> - 🔕 [Ignore this dependency or unsubscribe from future upgrade
PRs](https://app.snyk.io/org/newkdr/project/12a8a5f5-3e19-438c-8280-eb8f4ee06d17/settings/integration?pkg&#x3D;@opentelemetry/resources&amp;utm_source&#x3D;github&amp;utm_medium&#x3D;referral&amp;page&#x3D;upgrade-pr#auto-dep-upgrades)

[//]: #
'snyk:metadata:{"customTemplate":{"variablesUsed":[],"fieldsUsed":[]},"dependencies":[{"name":"@opentelemetry/resources","from":"1.28.0","to":"1.29.0"}],"env":"prod","hasFixes":false,"isBreakingChange":false,"isMajorUpgrade":false,"issuesToFix":[],"prId":"500aeb9d-cdd6-49cd-9138-bdc8a50dccb9","prPublicId":"500aeb9d-cdd6-49cd-9138-bdc8a50dccb9","packageManager":"npm","priorityScoreList":[],"projectPublicId":"12a8a5f5-3e19-438c-8280-eb8f4ee06d17","projectUrl":"https://app.snyk.io/org/newkdr/project/12a8a5f5-3e19-438c-8280-eb8f4ee06d17?utm_source=github&utm_medium=referral&page=upgrade-pr","prType":"upgrade","templateFieldSources":{"branchName":"default","commitMessage":"default","description":"default","title":"default"},"templateVariants":[],"type":"auto","upgrade":[],"upgradeInfo":{"versionsDiff":1,"publishedDate":"2024-12-04T16:32:24.723Z"},"vulns":[]}'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants