Skip to content

Bump github.com/XSAM/otelsql from 0.37.0 to 0.39.0 #2672

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

Merged
merged 1 commit into from
Jun 12, 2025

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Jun 9, 2025

Bumps github.com/XSAM/otelsql from 0.37.0 to 0.39.0.

Release notes

Sourced from github.com/XSAM/otelsql's releases.

Release v0.39.0

[!WARNING] The new introduced OTEL_SEMCONV_STABILITY_OPT_IN environment variable will be supported for at least six months from this release. After this period, support for legacy metrics and Semantic Conventions v1.24.0 may be removed in the next release.

You can start the migration to the new Semantic Conventions v1.30.0 by setting the OTEL_SEMCONV_STABILITY_OPT_IN=database/dup or OTEL_SEMCONV_STABILITY_OPT_IN=database environment variable in your application.

See also the Semantic conventions for database client metrics.

Added

  • Support to emit query related attributes for the v1.24.0 and v1.30.0 semantic conventions based on the value of the OTEL_SEMCONV_STABILITY_OPT_IN environment variable. (#478)

    • database/dup: Emit both db.statement and db.query.text attributes.
    • database: Emit db.query.text attribute.
    • by default: Emit db.statement attribute.
  • New db.client.operation.duration metric following OpenTelemetry semantic conventions. (#480)

  • Support for configuring metrics behavior based on OTEL_SEMCONV_STABILITY_OPT_IN setting. (#480)

    • database/dup: Emit both legacy latency and new duration db.client.operation.duration metrics.
    • database: Emit new duration db.client.operation.duration metric.
    • by default: Emit only the legacy latency metric.

Changed

  • Upgrade semantic conventions to semconv/v1.30.0. (#478)
  • Improve memory usage when recording metrics or creating spans. (#497)
  • Upgrade OTel to v1.36.0/v0.58.0. (#495)

Fixed

  • Data race issues when recording metrics or creating spans. (#497)

What's Changed

... (truncated)

Changelog

Sourced from github.com/XSAM/otelsql's changelog.

[0.39.0] - 2025-06-05

[!WARNING] The new introduced OTEL_SEMCONV_STABILITY_OPT_IN environment variable will be supported for at least six months from this release. After this period, support for legacy metrics and Semantic Conventions v1.24.0 may be removed in the next release.

You can start the migration to the new Semantic Conventions v1.30.0 by setting the OTEL_SEMCONV_STABILITY_OPT_IN=database/dup or OTEL_SEMCONV_STABILITY_OPT_IN=database environment variable in your application.

See also the Semantic conventions for database client metrics.

Added

  • Support to emit query related attributes for the v1.24.0 and v1.30.0 semantic conventions based on the value of the OTEL_SEMCONV_STABILITY_OPT_IN environment variable. (#478)

    • database/dup: Emit both db.statement and db.query.text attributes.
    • database: Emit db.query.text attribute.
    • by default: Emit db.statement attribute.
  • New db.client.operation.duration metric following OpenTelemetry semantic conventions. (#480)

  • Support for configuring metrics behavior based on OTEL_SEMCONV_STABILITY_OPT_IN setting. (#480)

    • database/dup: Emit both legacy latency and new duration db.client.operation.duration metrics.
    • database: Emit new duration db.client.operation.duration metric.
    • by default: Emit only the legacy latency metric.

Changed

  • Upgrade semantic conventions to semconv/v1.30.0. (#478)
  • Improve memory usage when recording metrics or creating spans. (#497)
  • Upgrade OTel to v1.36.0/v0.58.0. (#495)

Fixed

  • Data race issues when recording metrics or creating spans. (#497)

[0.38.0] - 2025-03-26

Added

  • WithInstrumentErrorAttributesGetter option to provide additional error-related attributes. (#440)

Changed

  • Upgrade OTel to v1.35.0/v0.57.0. (#437)

Removed

  • Drop support for Go 1.22. (#447)
Commits

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

@dependabot dependabot bot added dependencies Pull requests that update a dependency file go Pull requests that update Go code labels Jun 9, 2025
@jeffmendoza
Copy link
Member

@dependabot rebase

@dependabot dependabot bot force-pushed the dependabot/go_modules/github.com/XSAM/otelsql-0.39.0 branch from be6712f to 78b76be Compare June 10, 2025 15:16
@dependabot dependabot bot force-pushed the dependabot/go_modules/github.com/XSAM/otelsql-0.39.0 branch from 78b76be to 40a0329 Compare June 11, 2025 12:53
@mihaimaruseac
Copy link
Collaborator

@dependabot rebase

Bumps [github.com/XSAM/otelsql](https://github.com/XSAM/otelsql) from 0.37.0 to 0.39.0.
- [Release notes](https://github.com/XSAM/otelsql/releases)
- [Changelog](https://github.com/XSAM/otelsql/blob/main/CHANGELOG.md)
- [Commits](XSAM/otelsql@v0.37.0...v0.39.0)

---
updated-dependencies:
- dependency-name: github.com/XSAM/otelsql
  dependency-version: 0.39.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot force-pushed the dependabot/go_modules/github.com/XSAM/otelsql-0.39.0 branch from 40a0329 to be3fc91 Compare June 12, 2025 04:38
@kodiakhq kodiakhq bot merged commit 680a590 into main Jun 12, 2025
10 of 12 checks passed
@kodiakhq kodiakhq bot deleted the dependabot/go_modules/github.com/XSAM/otelsql-0.39.0 branch June 12, 2025 06:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file go Pull requests that update Go code size/S
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants