-
Notifications
You must be signed in to change notification settings - Fork 538
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-document-load): use exported strings for semconv #2039
refactor(instr-document-load): use exported strings for semconv #2039
Conversation
Codecov Report
Additional details and impacted files@@ Coverage Diff @@
## main #2039 +/- ##
==========================================
- Coverage 90.97% 90.66% -0.31%
==========================================
Files 146 139 -7
Lines 7492 6858 -634
Branches 1502 1374 -128
==========================================
- Hits 6816 6218 -598
+ Misses 676 640 -36 |
I got a timeout error suggesting to set/increase Edit: Removed this in a later commit as it didn't help. |
🤔 Hmm a different error this time:
It works locally so I'm curious to see what might be causing the error. ➜ opentelemetry-js-contrib git:(jamie.instr-document-load-semconv) npm run test:browser
> opentelemetry-contrib@0.1.0 test:browser
> lerna run test:browser --concurrency 1
lerna notice cli v6.6.2
lerna info versioning independent
✔ @opentelemetry/instrumentation-document-load:test:browser (3s)
✔ @opentelemetry/instrumentation-user-interaction:test:browser (4s)
✔ @opentelemetry/propagator-aws-xray:test:browser (3s)
✔ @opentelemetry/id-generator-aws-xray:test:browser (3s)
✔ @opentelemetry/instrumentation-long-task:test:browser (3s)
✔ @opentelemetry/plugin-react-load:test:browser (4s)
✔ @opentelemetry/propagator-instana:test:browser (3s)
✔ @opentelemetry/propagator-ot-trace:test:browser (3s)
✔ @opentelemetry/auto-instrumentations-web:test:browser (3s)
————————————————————————————————————————————————————————————————
> Lerna (powered by Nx) Successfully ran target test:browser for 9 projects (29s) |
I added this option in the
Looks like this test runner was updated in this package in #1816 so pinging @SimenB in case this seems familiar at all or would cause any known issues. |
Hey! 👋 I haven't encountered that issue before, but I'm not super familiar with the runner either. Did you try the puppeteer option like the error suggested?
That seems like what you'd wanna do regardless? Anyways, if |
Ah, yes I forgot about that. So the only reason I didn't use the
|
Looks good. 👍 Odd that this error surfaced during this PR and not earlier. We ran it quite a few times automatically on
I wonder if this second error has something to do with the installed browser version from the image used by the runner. 🤔 I think it's worth to investigate this if we see this happening more frequently. |
Which problem is this PR solving?
Short description of the changes
In
@opentelemetry/instrumentation-document-load
package:@opentelemetry/semantic-conventions
to^1.22
SemanticAttributes.*
with new exported stringsSEMATTRS_*
README
with new semantic convention package version and keys