Skip to content

feat: add Spring ConfigProvider example#1220

Merged
jaydeluca merged 2 commits into
open-telemetry:mainfrom
zeitlinger:agent/add-config-provider-example
Jul 23, 2026
Merged

feat: add Spring ConfigProvider example#1220
jaydeluca merged 2 commits into
open-telemetry:mainfrom
zeitlinger:agent/add-config-provider-example

Conversation

@zeitlinger

Copy link
Copy Markdown
Member

Summary

  • Add a ReadInstrumentationConfig Spring component that demonstrates reading an instrumentation setting through the ConfigProvider bean.
  • Update the Spring declarative configuration example to the OpenTelemetry Spring Boot Starter 2.30.0 BOM, which provides the ConfigProvider bean.

Test plan

  • mise run lint
  • ./gradlew assemble passed before the required 2.30.0 dependency bump with the same source change.
  • Final Gradle validation is pending Maven Central publication of the newly released 2.30.0 BOM; it currently returns 404.

Signed-off-by: Gregor Zeitlinger <gregor.zeitlinger@grafana.com>
Signed-off-by: Gregor Zeitlinger <gregor.zeitlinger@grafana.com>
@zeitlinger
zeitlinger marked this pull request as ready for review July 23, 2026 07:59
@zeitlinger
zeitlinger requested review from a team as code owners July 23, 2026 07:59
@jaydeluca
jaydeluca merged commit e06878b into open-telemetry:main Jul 23, 2026
19 of 25 checks passed
@zeitlinger
zeitlinger deleted the agent/add-config-provider-example branch July 23, 2026 16:10
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