Skip to content

Provide a buffering implementation for application startup metrics #22603

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

Closed
bclozel opened this issue Jul 27, 2020 · 0 comments
Closed

Provide a buffering implementation for application startup metrics #22603

bclozel opened this issue Jul 27, 2020 · 0 comments
Assignees
Labels
type: enhancement A general enhancement
Milestone

Comments

@bclozel
Copy link
Member

bclozel commented Jul 27, 2020

Once #22600 is in place, Spring Boot provides an easy way to configure an ApplicationStartup implementation for collecting startup metrics. The only available implementation is tied to Java Flight Recorder, which fits well for profiling use cases, but not when it comes to buffering data and re-exporting it to metrics systems once the infrastructure is in place at the application level.

This issue is about providing a Spring Boot specific ApplicationStartup implementation that buffers and provides snapshots of collected steps. This could be used to re-export data to metrics systems or make this data available on actuator endpoints.

@bclozel bclozel added the type: enhancement A general enhancement label Jul 27, 2020
@bclozel bclozel added this to the 2.4.0-M2 milestone Jul 27, 2020
@bclozel bclozel self-assigned this Jul 27, 2020
@bclozel bclozel modified the milestones: 2.4.0-M2, 2.4.0-M3 Aug 7, 2020
@bclozel bclozel closed this as completed in fdf21da Sep 7, 2020
bclozel added a commit that referenced this issue Sep 7, 2020
This commit builds on top of gh-22603 and exposes data collected by the
`BufferingApplicationStartup` on a dedicated `"/startup"` Actuator
endpoint.

Closes gh-23213
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: enhancement A general enhancement
Projects
None yet
Development

No branches or pull requests

1 participant