-
Notifications
You must be signed in to change notification settings - Fork 517
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-cassandra-driver): use exported strings for attributes #2139
refactor(instr-cassandra-driver): use exported strings for attributes #2139
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #2139 +/- ##
==========================================
- Coverage 90.97% 90.47% -0.50%
==========================================
Files 146 147 +1
Lines 7492 7594 +102
Branches 1502 1575 +73
==========================================
+ Hits 6816 6871 +55
- Misses 676 723 +47
|
this is ready to merge, but for some reason the TAV test fails with this message:
The changes seems unrelated, but the error does mention "npm ERR! --workspace=@opentelemetry/instrumentation-cassandra" so I guess something is broken in the build? |
Hm it looks like cassandra is one of the few instrumentations that doesn't have a "tav" script so I guess it should be skipped in this test? What's weird though is I would've expected #2099 to fail too then because it also doesn't have tav. 🤔 |
The TAV workflow didn't run on that PR. For some reason the "TAV for PR" didn't trigger. I don't know why. Hrm.
The issue with instr-cassandra is confusion with the dir name and issue label using "instrumentation-cassandra", but the package actually being If there are multiple workspace args, then I think it all works:
So this will only happen on a PR that only has the fixI'll try to fix with:
--- a/.github/component-label-map.yml
+++ b/.github/component-label-map.yml
@@ -71,7 +71,7 @@ pkg:instrumentation-bunyan:
- changed-files:
- any-glob-to-any-file:
- plugins/node/opentelemetry-instrumentation-bunyan/**
-pkg:instrumentation-cassandra:
+pkg:instrumentation-cassandra-driver:
|
Oh, there are already both label names: https://github.com/open-telemetry/opentelemetry-js-contrib/labels?q=cassandra I'll update all to the one we want and delete the other package label. |
We'll have to wait to delete the other package label until after this change goes in, because the github action adding component labels is re-adding it. |
Which problem is this PR solving?
Short description of the changes
SemanticAttributes.*
with exported stringsSEMATTRS_*