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

Add metrics and related endpoints #22

Open
stevespringett opened this issue Mar 20, 2019 · 3 comments
Open

Add metrics and related endpoints #22

stevespringett opened this issue Mar 20, 2019 · 3 comments

Comments

@stevespringett
Copy link
Owner

Add metrics and related endpoints similar to what DropWizard or SpringBoot provides.

  • /auditevents - should return the contents of dependency-track-audit.log
  • /env - should return all environment variables and Java system properties
  • /health - should return various high-level health info
  • /logfile - should return the contents of dependency-track.log
  • /metrics - should return details metrics to measure system performance

Alpine should contain an AbstractMetricsResource with implementations of the above endpoints. Each application that is built on Alpine would simply extend AbstractMetricsResource so that the app can specify what permissions are necessary for each.

NOTE: It may be possible to simply include Dropwizard Metrics for /health and /metrics capabilities as the module seems to be standalone with minimal dependencies.

@sandeep-chekuri
Copy link

Do we have any timelines on when this feature would be available in Alpine and eventually in dependency track?

@stevespringett
Copy link
Owner Author

No timeline. It's not currently being worked on or planned. Too much other things in DT being worked on at the moment.

@davidkarlsen
Copy link

davidkarlsen commented Apr 6, 2021

I can highly recommend micrometer for metrics. It's very nice and versatile. And use prometheus dataformat as standard, as it is the de-facto standard.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants