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

[BUG] Remove reflection logic to call AdmissionControl plugin APIs #403

Open
gashutos opened this issue Mar 19, 2023 · 0 comments
Open

[BUG] Remove reflection logic to call AdmissionControl plugin APIs #403

gashutos opened this issue Mar 19, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@gashutos
Copy link
Contributor

gashutos commented Mar 19, 2023

What is the bug?
AdmissionControlCollector right now collects jvmmp/request_size metrics from AdmissionController plugin. It uses reflection to load static instances of those classes.

How can one reproduce the bug?
Its a code best practises bug.

What is the expected behavior?
performance-analyzer plugin should expose SPI with admissioncontrol methods. AdmissionController plugin should implement this SPI as well extending performance-analyzer plugin. performance-analyzer plugin should implement ExtensiblePlugin interface and so that it can load static admission controller objects from AdmissionController plugin.

@gashutos gashutos added bug Something isn't working untriaged labels Mar 19, 2023
@khushbr khushbr changed the title [BUG] Remove reflection logic to call AdmissionControl plugin APIs (which is only known to managed service) [BUG] Remove reflection logic to call AdmissionControl plugin APIs Apr 17, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants