Spring Boot 启动器
The content of this page may be outdated and some links may be invalid.
A newer version of this page exists in
English. To see the changes to the English page since this page was last updated: visit
GitHub compare 8c619676..33a23bc0
and search for More information ...
content/en/docs/zero-code/java/spring-boot-starter/_index.md.
你可以通过两种方式为 Spring Boot 应用程序配置 OpenTelemetry 插桩。
- 为 Spring Boot 应用程序配置插桩的默认选择是使用带有字节码插桩的 OpenTelemetry Java 代理:
- 提供比 OpenTelemetry 启动器更多的开箱即用的插桩
- OpenTelemetry Spring Boot 启动器可以帮助你:
- 适用于 Spring Boot Native image 应用程序,这类应用中 OpenTelemetry Java 代理无法正常工作
- 当 OpenTelemetry Java 代理的启动开销超出您的需求时
- 已在使用其他 Java 监控代理的场景,因为 OpenTelemetry Java 代理可能与其他代理存在兼容性问题
- 可通过 Spring Boot 配置文件(
application.properties、application.yml)进行配置, 这种配置方式与 OpenTelemetry Java 代理不兼容
Feedback
Was this page helpful?
Thank you. Your feedback is appreciated!
Please let us know how we can improve this page. Your feedback is appreciated!