Provide an enriched info actuator endpoint for monitoring purposes#2005
Open
Stephan-Kok wants to merge 2 commits into
Open
Provide an enriched info actuator endpoint for monitoring purposes#2005Stephan-Kok wants to merge 2 commits into
Stephan-Kok wants to merge 2 commits into
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR proposes an actuator endpoint (/actuator/info).
This endpoint is in line with the other actuator endpoints we that are introduced in the Openconext landscape:
With this PR, a version file will be created during build process in /public/version.json. This file will be used by the actuator endpoint (/actuator/info) to show information regarding when the application has been build, the current version, description and will show the amount of days passed since the release was build. This information can be used by application monitoring to determine whether a new release of the application and its middleware is required.
example /version.json:
{ "name": "openconext/engineblock", "description": "OpenConext SAML proxy", "version": "7.0.0-dev", "time": "2026-05-19T12:06:37.581Z" }example /actuator/info:
{ "build": { "name": "openconext/engineblock", "description": "OpenConext SAML proxy", "version": "7.0.0-dev", "time": "2026-05-18T11:59:07.992Z" }, "days_since_release": 1 }I also reviewed the implementation in the openconext/monitor-bundle, which exposes
https://engine.surfconext.nl/info.As I understand it, that implementation relies on environment variables for build metadata. Those variables are not persisted as part of the packaged application artifact, whereas this approach stores the metadata in a generated file during the build process