Skip to content

Add OpenTelemetry Spring Boot Starter Sample#386

Merged
psx95 merged 10 commits into
GoogleCloudPlatform:mainfrom
psx95:spring-boot-starter
Dec 10, 2024
Merged

Add OpenTelemetry Spring Boot Starter Sample#386
psx95 merged 10 commits into
GoogleCloudPlatform:mainfrom
psx95:spring-boot-starter

Conversation

@psx95

@psx95 psx95 commented Dec 9, 2024

Copy link
Copy Markdown
Contributor

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
@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