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

[Epic] Two-way communications protocol #124

Open
2 of 3 tasks
andrewazores opened this issue May 23, 2023 · 2 comments · Fixed by #175
Open
2 of 3 tasks

[Epic] Two-way communications protocol #124

andrewazores opened this issue May 23, 2023 · 2 comments · Fixed by #175
Assignees
Labels
feat New feature or request

Comments

@andrewazores
Copy link
Member

andrewazores commented May 23, 2023

The agent currently exposes only a readonly HTTP API that the Cryostat server can use to query basic information such as a list of active recording descriptors, the JFR event types and templates available, and MBean metrics data.

The agent should also implement mutation requests for actions such as dynamically starting Flight Recordings, including with custom event templates supplied by the server with the request.

The readonly API should remain implemented and available. We should explore whether the mutable (write/update) API endpoints are always available, or if they are gated behind an additional opt-in property that requires the user to explicitly enable them.

The goal after this project is completed is that the Cryostat backend's client should be able to make all of its requests to an HTTP-registered Agent instance equally as it would for a JMX target.

@andrewazores andrewazores added the feat New feature or request label May 23, 2023
@andrewazores
Copy link
Member Author

Related: cryostatio/cryostat-web#944

@andrewazores
Copy link
Member Author

#138 should still be done at some point.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feat New feature or request
Projects
No open projects
Status: Done
Development

Successfully merging a pull request may close this issue.

1 participant