• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

TAKETODAY / today-infrastructure / 27329598303

11 Jun 2026 06:56AM UTC coverage: 83.562% (-0.02%) from 83.58%
27329598303

push

github

TAKETODAY
:sparkles: Add application startup metrics support

This commit adds a new `StartupStep` interface and its factory
`ApplicationStartup`. Such steps are created, tagged with metadata and
thir execution time can be recorded - in order to collect metrics about
the application startup.

The default implementation is a "no-op" variant and has no side-effect.
Other implementations can record and collect events in a dedicated
metrics system or profiling tools. We provide here an implementation for
recording and storing steps with Java Flight Recorder.

This commit also instruments the Infra application context to gather
metrics about various phases of the application context, such as:

* context refresh phase
* bean definition registry post-processing
* bean factory post-processing
* beans instantiation and post-processing

Third part libraries involved in the Infra application context can
reuse the same infrastructure to record similar metrics.

68398 of 87542 branches covered (78.13%)

Branch coverage included in aggregate %.

164544 of 191222 relevant lines covered (86.05%)

3.67 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

79.82
today-context/src/main/java/infra/context/annotation/ConfigurationClassPostProcessor.java


Source Not Available

STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc