Skip to content

Conversation

@aaron-congo
Copy link
Contributor

Addresses #1522

Before this change, we created a new plugin chain every time MonitorServiceImpl#runIfAbsent was called. Since this method is called often, this was leading to performance impacts. After these changes, we will only create the new plugin chain when it is actually required (when the monitor does not already exist).

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@aaron-congo aaron-congo changed the title fix: only create new plugin chains when necessary perf: avoid creating monitor plugin chains when unnecessary Sep 12, 2025
@aaron-congo aaron-congo merged commit e77e1f5 into main Sep 15, 2025
10 checks passed
@aaron-congo aaron-congo deleted the get-monitor-performance branch September 15, 2025 16:10
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.

2 participants