Skip to content
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

Add OpenTelemetry Spring Boot Starter Sample #386

Merged
merged 10 commits into from
Dec 10, 2024

Conversation

psx95
Copy link
Contributor

@psx95 psx95 commented Dec 9, 2024

Description

This sample showcases how to use OpenTelemetry Spring Boot Starter agent to auto-instrument a Spring Boot application running as a GraalVM Native image and exporting the telemetry to GCP.

Notes
  • Since GraalVM native images require Java 17 as a minimum version, the toolchain for this sample is set to Java 17.
  • To keep the overall requirement for successful building of this project to Java 11, this project is conditionally included in the project build only if Java 17 is detected on the system.

Fixes #376
Re #366

@psx95 psx95 marked this pull request as ready for review December 9, 2024 22:33
@psx95 psx95 requested a review from a team as a code owner December 9, 2024 22:33
psx95 added 2 commits December 9, 2024 22:55
This allows to keep using Java 11 to build the project.
Keeping Java 11 to build the project allows us to keep using the
existing CI that is built around Java 11.
@psx95 psx95 merged commit a08a050 into GoogleCloudPlatform:main Dec 10, 2024
18 checks passed
@psx95 psx95 deleted the spring-boot-starter branch December 10, 2024 16:34
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.

Document usage of OpenTelemetry Spring Boot Starter with In-process exporters
4 participants