-
Notifications
You must be signed in to change notification settings - Fork 62
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
fix(monitoring-exporter): use correct value type for histogram/distribution metrics #474
Conversation
/gcbrun @jbaldassari the package-lock.json changes seem to just be re-indenting the file. I've seen this kind of noise sometimes when the npm versions generating the lockfile are different. If you revert the change, does the CI fail? |
Codecov Report
@@ Coverage Diff @@
## main #474 +/- ##
==========================================
+ Coverage 95.62% 95.64% +0.01%
==========================================
Files 16 16
Lines 549 551 +2
Branches 102 103 +1
==========================================
+ Hits 525 527 +2
Misses 24 24
📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more |
@aabmass I noticed the indentation changes as well, which is odd, but the other change is that the version on
Again, I'm happy to revert this change if you'd prefer to deal with it internally. I just had to get it fixed so that I could install |
@jbaldassari I checked out your PR, checkout the package-lock.json from main, and ran npm install. It didn't output any changes. Did you run I'd recommend just revert that file and update the PR. I think the CI will pass. |
47ff8be
to
08d059f
Compare
/gcbrun |
Thanks for the tip @aabmass . That was it. I was running it from the package directory. Running it from the repo root works. Well, I should say it does not update
I noticed that I've updated the PR to revert the |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM thanks for the PR 😄
Thank you for taking a look so quickly! |
It's added as a peer dependency as it is a "plugin" to the SDK opentelemetry-operations-js/packages/opentelemetry-cloud-monitoring-exporter/package.json Line 77 in 002b61a
For build purposes, I believe newer versions of npm will automatically install |
Thank you for opening a Pull Request! Before submitting your PR, there are a few things you can do to make sure it goes smoothly:
Fixes #473
The
package-lock.json
file was not in sync withpackage.json
when I went to make this change.npm ci
reported:I had to
npm i
to resolve the issue, which is the reason for thepackage-lock.json
changes. I can revert this change if you'd like, but it seems like the lock file was invalid, so that should probably be fixed.