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

[Request] Build info properties #505

Closed
andrewazores opened this issue Oct 3, 2024 · 0 comments · Fixed by #508
Closed

[Request] Build info properties #505

andrewazores opened this issue Oct 3, 2024 · 0 comments · Fixed by #508
Assignees
Labels
feat New feature or request

Comments

@andrewazores
Copy link
Member

See #504

The Agent build should embed some build information into the JAR, such as the pom.xml version and git commit. This data should be written into a .properties file which gets bundled into the JAR. The Agent can load this file from the class path at startup and ensure these are set as System properties. These will then be visible through the MBean Metrics interface, for example on the Cryostat Web UI's JVM Details component.

This mechanism can also be how #504 is implemented - the server version range can be set in the pom.xml, and loaded at runtime this way

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
Status: Done
1 participant