Skip to content

Conversation

hannahramadan
Copy link
Contributor

@hannahramadan hannahramadan commented Sep 15, 2025

Deprecating opentelemetry-helpers-sql-obfuscation in favor of opentelemetry-helpers-sql-processor

This should be merged 2nd in a series of 3 PRs:

  1. feat: introduce sql-processor gem #1673
  2. feat!: deprecate sql-obfuscation gem #1674
  3. feat: replace references sql-obfuscation -> sql-processor #1675

After this final version is released, we can delete this directory from a future release.

@hannahramadan hannahramadan changed the title feat!: deprecate gem feat!: deprecate sql-obfuscation gem Sep 15, 2025
require_relative 'opentelemetry/helpers'

OpenTelemetry.logger.warn <<~WARNING
[DEPRECATION] The 'opentelemetry-helpers-sql-obfuscation' gem has been renamed to 'opentelemetry-helpers-sql-processor'. No action is needed unless you use this gem directly.
Copy link
Contributor Author

Choose a reason for hiding this comment

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

This warning shows up when using instrumentation uses sql-obfuscation

WARN -- : [DEPRECATION] The 'opentelemetry-helpers-sql-obfuscation' gem has been renamed to 'opentelemetry-helpers-sql-processor'. No action is needed unless you use this gem directly.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

While we could add a post install message in the gemspec, I like the implications that come with using logger's warn.

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.

2 participants