-
Notifications
You must be signed in to change notification settings - Fork 127
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
Upcoming Release Changes #2229
Merged
Merged
Upcoming Release Changes #2229
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
💻 Website PreviewThe latest changes are available as preview in: https://7d39e02d.envelop.pages.dev |
✅ Benchmark Results
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated.
Releases
@envelop/[email protected]
Major Changes
#2217
7ac1d3c
Thanks @EmrysMyrddin! - Adds a cache for metrics definition (Summary, Histogram and Counter).Fixes an issue preventing this plugin to be initialized multiple times, leading to metrics
duplication error (How to run Prometheus with mesh start without giving an error? ardatan/graphql-mesh#6545).
Behavior Breaking Change:
Due to Prometheus client API limitations, a metric is only defined once for a given registry. This
means that if the configuration of the metrics, it will be silently ignored on plugin
re-initialization.
This is to avoid potential loss of metrics data produced between the plugin re-initialization and
the last pull by the prometheus agent.
If you need to be sure metrics configuration is up to date after a plugin re-initialization, you can
either:
registry.clear()
before plugin re-initialization:Keep in mind that this implies potential data loss in pull mode.
API Breaking Change:
To ensure metrics from being registered multiple times on the same registry, the signature of
createHistogram
,createSummary
andcreateCounter
have been changed to now include the registryas a mandatory parameter.
If you were customizing metrics parameters, you will need to update the metric definitions
Patch Changes
dc1222f
]:@envelop/[email protected]
Patch Changes
dc1222f
Thanks @benjie! - feat: adduseValidationRule()
plugin@envelop/[email protected]
Patch Changes
#2218
75b73fb
Thanks @EmrysMyrddin! - dependencies updates:@opentelemetry/api@^1.8.0
↗︎ (from^1.0.0
, independencies
)Updated dependencies [
dc1222f
]: