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

refactor(instr-redis-4): use exported strings for attributes #2100

Merged

Conversation

david-luna
Copy link
Contributor

Which problem is this PR solving?

Short description of the changes

  • Update @opentelemetry/semantic-conventions to ^1.22
  • Replace SemanticAttributes.* with exported strings SEMATTRS_*
  • Update README with new semantic convention package version and key

Copy link

codecov bot commented Apr 15, 2024

Codecov Report

Merging #2100 (adfecb4) into main (dfb2dff) will decrease coverage by 0.21%.
Report is 52 commits behind head on main.
The diff coverage is 100.00%.

❗ Current head adfecb4 differs from pull request most recent head f33a7bc. Consider uploading reports for the commit f33a7bc to get more accurate results

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2100      +/-   ##
==========================================
- Coverage   90.97%   90.77%   -0.21%     
==========================================
  Files         146      148       +2     
  Lines        7492     7675     +183     
  Branches     1502     1539      +37     
==========================================
+ Hits         6816     6967     +151     
- Misses        676      708      +32     
Files Coverage Δ
...try-instrumentation-redis-4/src/instrumentation.ts 80.09% <100.00%> (ø)
...opentelemetry-instrumentation-redis-4/src/utils.ts 83.33% <100.00%> (ø)

... and 8 files with indirect coverage changes

| ---------------------- | ---------------------------------------------------------------------------- |
| `db.statement` | The database statement being executed. |
| `db.system` | An identifier for the database management system (DBMS) product being used. |
| `db.connection_string` | The connection string used to connect to the database (without credentials). |
Copy link
Contributor

Choose a reason for hiding this comment

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

nit: can you move this up to keep this list ordered alphabetically?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

done!

@pichlermarc pichlermarc merged commit fae3010 into open-telemetry:main Apr 17, 2024
15 checks passed
@david-luna david-luna deleted the dluna/redis-4-semconv-strings branch April 17, 2024 15:35
maryliag pushed a commit to maryliag/opentelemetry-js-contrib that referenced this pull request Apr 17, 2024
…lemetry#2100)

* refactor(instr-redis-4): use exported strings for attributes

* chore(instr-redis-4): update README

---------

Co-authored-by: Marc Pichler <marc.pichler@dynatrace.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants