Closed klippx closed 1 week ago
Latest commit: a8bc62a09c39079dc7820acb0255da75400cdeb5
The changes in this PR will be included in the next version bump.
Not sure what this means? Click here to learn what changesets are.
Click here if you're a maintainer who wants to add another changeset to this PR
@EmrysMyrddin May I ask for review?
Hi, yes ! Sorry for the delay, I went down a rabbit hole on this subject. I started to test your PR and came across a lot of weird behavior, where the config can be very confusing: some metric will ba exported only if some other metrics are also available.
For this reason, I've started a PR to rework the way metrics are enabled/disabled and more importantly how they will be enabled based on the execution phase. This allows us to optimize the plugin, by not adding hooks for phases that are not needed by any enabled metric.
This PR will also add a way to skip metric observations based on the execution context.
The work is not finalized yet (you can see the draft PR linked in your issue), because we are still discussing the shape of the configuration API (how much do we want to break the retro-compatibility with previous versions).
Thanks @EmrysMyrddin you are a legend... ❤️ I agree 100% with your take. Looking forward to it!
Closing in favor of #2317
Description
Make it possible for a user to conditionally escape histogram/summary observations on a per request basis.
Fixes #2312
Type of change
Please delete options that are not relevant.
How Has This Been Tested?
Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration
Checklist: