Skip to content

[#noissue] Add startup summary log for plugin loading#13372

Open
Dongnyoung wants to merge 1 commit intopinpoint-apm:masterfrom
Dongnyoung:feat/startup-summary
Open

[#noissue] Add startup summary log for plugin loading#13372
Dongnyoung wants to merge 1 commit intopinpoint-apm:masterfrom
Dongnyoung:feat/startup-summary

Conversation

@Dongnyoung
Copy link
Contributor

Hello,
This PR adds a small startup summary log to help improve visibility during agent initialization.

What

Add a concise startup summary log when the Pinpoint agent starts.

The log summarizes:

  • detected application type
  • whether plugin contexts are loaded
  • number of registered class file transformers
  • number of JDBC URL parsers

Why

When running Pinpoint in development or production, it is often difficult to quickly verify
whether plugins were loaded correctly and instrumentation is active.

This startup summary provides immediate visibility into the agent's initialization state
without requiring deep log inspection or debugging.

How

  • Retrieve PluginContextLoadResult from the Guice injector
  • Log a safe summary at INFO level during agent startup
  • Wrap the logic with exception handling to avoid impacting startup stability

Scope

  • Logging only (no behavior or API changes)
  • Backward compatible

@sonarqubecloud
Copy link

sonarqubecloud bot commented Feb 8, 2026

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant