Skip to content

feat(spring-ai-demo): upgrade to Spring Boot 4.0.3 and Spring AI 2.0.0-M2#26

Open
parthloglogn wants to merge 2 commits intolangfuse:mainfrom
parthloglogn:main
Open

feat(spring-ai-demo): upgrade to Spring Boot 4.0.3 and Spring AI 2.0.0-M2#26
parthloglogn wants to merge 2 commits intolangfuse:mainfrom
parthloglogn:main

Conversation

@parthloglogn
Copy link
Copy Markdown

feat(spring-ai-demo): upgrade to Spring Boot 4.0.3 and Spring AI 2.0.0-M2

  • Upgrade Spring Boot from 3.4.3 to 4.0.3

  • Upgrade Spring AI from 1.0.0 to 2.0.0-M2

  • Replace legacy OpenTelemetry setup with spring-boot-starter-opentelemetry

  • Remove deprecated opentelemetry-spring-boot-starter and instrumentation BOM

  • Remove micrometer-tracing-bridge-otel (now included in Boot 4)

  • Add OtelConfig for custom OTLP exporter (endpoint + auth header)

  • Update application.yml and environment-based configuration for tracing

  • Improve dependency structure and project organization

  • Update README with latest setup, configuration, and deployment guidance

  • Add .gitignore for IDE and build artifacts

BREAKING CHANGE:

  • Observability setup migrated to Spring Boot 4 native OpenTelemetry
  • OTLP exporter configuration moved to code (OtelConfig)
  • Environment variables for tracing updated (e.g., OTEL_EXPORTER_OTLP_HEADERS_AUTHORIZATION)

Tested with:

  • Java 21
  • OpenAI integration (Spring AI)
  • Langfuse OTLP trace ingestion

@CLAassistant
Copy link
Copy Markdown

CLAassistant commented Mar 19, 2026

CLA assistant check
All committers have signed the CLA.

Copy link
Copy Markdown
Author

@parthloglogn parthloglogn left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

make it check and merge with main.

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.

2 participants