-
Notifications
You must be signed in to change notification settings - Fork 88
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
Consider imporvements for monitoring #44
Comments
See also here: |
Sometime ago we already created a demo and a cookbook entry in the devonfw guide for the integration of Spring Boot Admin https://github.com/devonfw/devon/wiki/Spring-boot-admin-Integration-with-devon4j. The document is probably deprecated, but could be a starting point. My point here is that we should save the still valid cookbook entries for the different stacks wikis before removing the devonfw guide as it is today. |
Hello, Following a discussion w/ Jörg & Santos, here is my input on monitoring. Overview :
Some examples of questions that should have an immediate answer from a monitoring solution.
All these answers are priceless in production, but even in development/testing environments, where they are a clear indicator of the upcoming issues in the next stage. In several projects, we have made huge improvements in quality and efficiency by having and looking at these metrics every day. Even non technical people can point out the code that is causing issues and the impacted features. Several tools exists to set up this kind of monitoring. I really think that devon should provide tooling out of the box and ready-to-use accelerators to provide additional analysis value for commons problems. One effort to have this kind of monitoring have been appstatus :
Used by many projects in different IT companies. Other alternatives : Again, low level metrics have little value, we need interpreted metrics, with business level (operations, rules, data retrieval, user perceived response time, ...) available from developper env. to production env. (And this probably should NOT be an option when creating a new devon application :-) ) Feedback is welcome ! Nicolas |
@nricheton thanks for your wunderful input. Also we will have a look at appstatus. However, we have to be careful with what we integrate by default. In one of my customer projects we used to integrate JavaMelody into all apps and then there came some CVE vulnerabilities with it and we were forced to remove it. Maybe the issues are meanwhile resolved. However, we should investigate your requirements and find a perfect match what we want to integrate as first choice and bring out of the box and what to have a just an option for projects that need more. Being able to report the release version is of course very simple and does not come with any risk. Also health status (e.g. with spring actuator) should come OOTB. Another aspect is OWASP Sensitive Data Exposure. Therefore detailed monitoring data should not be available to the outside world (end-users, internet) but stay secret within the admin-plane. In this manner we should also define strict standards for e.g. URL path scheme for monitoring services to simplify and avoid complex individual configurations. |
Hi @hohwille Thanks for your feedback ! On CVE risk, I would say that all Devon components (and all projects in general) have CVE in their history. Apart from projects which does not fix important CVEs for a long time, we should not consider CVE declaration as a reason of not integrating valuable components. On OS-level monitoring, I fully agree with you that dedicated, existing solutions should be used.
On the data availability : I agree data should not be available to public, internet users. This should be reserved to people responsables of operations, like any monitoring tool. Web page in module are mostly for early stages of feature development, then data should be aggregated into a common monitoring interface (any solution). I would be happy to show you next week how appstatus handles these ideas, and how it allows to export the data for proper aggregation. And discuss of real world examples ! Nicolas |
I fully support making progress in this area. Also I assume we will spend a slot on the next DA meeting discussing this. However, as we broadened the scope of this issues and some aspects are not yet completely clear, I removed the milestone. Otherwise we would block the release planned for next month. If people come up with PRs to solve this issue, I am more than happy to replan it for |
@nricheton thanks for your feedback. |
Do we have some key person who could drive the development of this issue. IMHO this is not just a 1-2 hours tasks but will need some attention and continuity. I do not have the time at the moment but would love to see some action and avoid that we are just talking. I am still happy to assist and support this also with some code snipplets or reviews... |
So JavaMelody even has a spring-boot-starter so you may only need to add a dependency and you are done. So is there anybody left who initialally raised demands for this toppic - maybe @nricheton ?
As a learning we should go away from such generic issues - either the issue should be cristal clear in what is to do or we need a real driver who actively works on that. |
For monitoring of a devonfw documentation there should be more guidance and features.
The text was updated successfully, but these errors were encountered: