[go: up one dir, main page]

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

Upgrade prom-client from ^11.5.3 to ^12.0.0 #252

Merged
merged 1 commit into from
Apr 26, 2024
Merged

Upgrade prom-client from ^11.5.3 to ^12.0.0 #252

merged 1 commit into from
Apr 26, 2024

Conversation

jdforrester
Copy link
Member

12.0.0 provides GC metrics which are wanted for various uses.

The breaking changes are mostly the dropping of support for Node 6 and 8, which don't affect us, removal of deprecated constructor use, and change in how default metrics are now collected, which aren't currently used:

https://github.com/siimon/prom-client/releases/tag/v12.0.0

https://phabricator.wikimedia.org/T350180

12.0.0 provides GC metrics which are wanted for various
uses.

The breaking changes are mostly the dropping of support for
Node 6 and 8, which don't affect us, removal of deprecated
constructor use, and change in how default metrics are now
collected, which aren't currently used:

  https://github.com/siimon/prom-client/releases/tag/v12.0.0

https://phabricator.wikimedia.org/T350180
@@ -43,7 +43,7 @@
"js-yaml": "^3.13.1",
"limitation": "^0.2.3",
"lodash.clonedeep": "^4.5.0",
"prom-client": "^11.5.3",
"prom-client": "^12.0.0",
Copy link

Choose a reason for hiding this comment

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

The latest version is 15.1.0. Should we be bold and aim for that?

Copy link
Member Author

Choose a reason for hiding this comment

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

There are a bunch of other breaking changes, and no tests, so I was trying to be conservative in the upgrade.

Copy link
@gmodena gmodena left a comment

Choose a reason for hiding this comment

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

LGTM.

Left a comment re which version of prom-client to pin, but 12.x has support for the GC metrics we'd like to report.

@mvolz mvolz merged commit 2dfaaee into master Apr 26, 2024
1 check passed
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.

3 participants