Repository navigation
Conversation
🦋 Changeset detectedLatest commit: 3ae318e The changes in this PR will be included in the next version bump. This PR includes changesets to release 35 packages
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
nikelborm
force-pushed
the
fixed_deprecated_opentelemetry_resource_attributes
branch
from
June 26, 2025 15:59
262749f to
5eba921
Compare
nikelborm
force-pushed
the
fixed_deprecated_opentelemetry_resource_attributes
branch
2 times, most recently
from
June 26, 2025 16:30
7a2451f to
02e8576
Compare
nikelborm
marked this pull request as ready for review
June 26, 2025 16:40
nikelborm
added a commit
to nikelborm/effect
that referenced
this pull request
Jun 26, 2025
Contributor
Author
|
Since #4692 is based on a I updated those lines in the already merged PR evelant#2, which sets proper resource attribute names and values. |
evelant
added a commit
to evelant/effect
that referenced
this pull request
Jun 26, 2025
Updated deprecated OTel Resource attributes names and values to match changes from Effect-TS#5104
nikelborm
force-pushed
the
fixed_deprecated_opentelemetry_resource_attributes
branch
from
July 6, 2025 01:15
02e8576 to
7aaf30f
Compare
Contributor
Author
|
While looking at Effect-TS/effect-smol#223 I've noticed a few more places that should be brought to a single style of OTel attr names I added those changes in 7aaf30f. These are not breaking changes |
nikelborm
added a commit
to nikelborm/effect
that referenced
this pull request
Jul 6, 2025
nikelborm
force-pushed
the
fixed_deprecated_opentelemetry_resource_attributes
branch
from
July 10, 2025 00:58
2ea2ff6 to
3ae318e
Compare
Many of the attributes have undergone the process of deprecation not once, but twice. Most of the constants holding attribute names have been renamed. These are minor changes. Additionally, there were numerous changes to the attribute keys themselves. These changes can be considered major. In the `@opentelemetry/semantic-conventions` package, new attributes having ongoing discussion about them are going through a process called incubation, until a consensus about their necessity and form is reached. Otel team [recommends](https://github.com/open-telemetry/opentelemetry-js/blob/main/semantic-conventions/README.md#unstable-semconv) devs to copy them directly into their code. Luckily, it's not necessary because all of the new attribute names and values came out of this process (some of them were changed again) and are now considered stable. | Package | Major attribute changes | Major value changes | | -------------------------- | ----------------------------------------------------------------------------- | --------------------------------- | | Clickhouse client | `db.system` -> `db.system.name` <br/> `db.name` -> `db.namespace` | | | MsSQL client | `db.system` -> `db.system.name` <br/> `db.name` -> `db.namespace` | `mssql` -> `microsoft.sql_server` | | MySQL client | `db.system` -> `db.system.name` <br/> `db.name` -> `db.namespace` | | | Pg client | `db.system` -> `db.system.name` <br/> `db.name` -> `db.namespace` | | | Bun SQLite client | `db.system` -> `db.system.name` | | | Node SQLite client | `db.system` -> `db.system.name` | | | React.Native SQLite client | `db.system` -> `db.system.name` | | | Wasm SQLite client | `db.system` -> `db.system.name` | | | SQLite Do client | `db.system` -> `db.system.name` | | | LibSQL client | `db.system` -> `db.system.name` | | | D1 client | `db.system` -> `db.system.name` | | | Kysely client | `db.statement` -> `db.query.text` | | | @effect/sql | `db.statement` -> `db.query.text` <br/> `db.operation` -> `db.operation.name` | |
nikelborm
force-pushed
the
fixed_deprecated_opentelemetry_resource_attributes
branch
from
July 10, 2025 00:59
3ae318e to
b35a9e9
Compare
1 of 5 tasks
Contributor
Author
|
Closed in favor of #5192 |
evelant
pushed a commit
to evelant/effect
that referenced
this pull request
Dec 17, 2025
evelant
pushed a commit
to evelant/effect
that referenced
this pull request
Dec 17, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Type
Why?
PR Description
Many of the OpenTelemetry Span attributes have undergone the process of deprecation not once, but twice. Most of the constants holding attribute names have been renamed. These are minor changes.
Additionally, there were numerous changes to the attribute keys themselves. These changes can be considered major.
In the
@opentelemetry/semantic-conventionspackage, new attributes having an ongoing discussion about them are going through a process called incubation, until a consensus about their necessity and form is reached. Otel team recommends devs to copy them directly into their code. Luckily, it's not necessary because all the new attribute names and values emerged from this process (some of which were subsequently changed) and are now considered stable.Packages that need a major version bump
Or since all their versions are like
0._._, I'm not sure if I'm using the correct term, but maybe it's a minor version bump?db.system->db.system.namedb.name->db.namespacedb.system->db.system.namedb.name->db.namespacemssql->microsoft.sql_serverdb.system->db.system.namedb.name->db.namespacedb.system->db.system.namedb.name->db.namespacedb.system->db.system.namedb.system->db.system.namedb.system->db.system.namedb.system->db.system.namedb.system->db.system.namedb.system->db.system.namedb.system->db.system.namedb.statement->db.query.textdb.statement->db.query.textdb.operation->db.operation.name(Expandable) Extended explanation of changes
Clickhouse client
MsSQL client
MySQL client
Pg client
Bun, Node, React.Native, Wasm, Do, LibSQL, and D1 SQLite clients
Kysely client
@effect/opentelemetry/Resource.ts
@effect/sql/statement.ts
... etc I've added a few more patch changes in the following commit, but I'm tired (I wrote the above description by hand) and don't care about writing such a detailed description anymore. Every other change that's left to mention here replaces strings with the same strings imported from the
@opentelemetry/semantic-conventionspackage.