stevespringett / Alpine

An opinionated scaffolding framework that jumpstarts Java projects with an API-first design, secure defaults, and minimal dependencies
Apache License 2.0
61 stars 39 forks source link

Add metrics and related endpoints #22

Open stevespringett opened 5 years ago

stevespringett commented 5 years ago

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

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 commented 3 years ago

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

stevespringett commented 3 years ago

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

davidkarlsen commented 3 years ago

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.