Skip to content

declarative config: declarative config bridge, support Inferred spans #2030

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

Open
wants to merge 21 commits into
base: main
Choose a base branch
from

Conversation

zeitlinger
Copy link
Member

@zeitlinger zeitlinger commented Jul 15, 2025

The declarative config bridge has been copied from the agent - eventually, we can use only one, but that's a later step.

Fixes #2029

@zeitlinger zeitlinger requested a review from a team July 15, 2025 12:20
@zeitlinger zeitlinger marked this pull request as draft July 22, 2025 14:36
@zeitlinger zeitlinger marked this pull request as ready for review August 15, 2025 11:59
@zeitlinger zeitlinger requested a review from a team as a code owner August 15, 2025 11:59
@zeitlinger
Copy link
Member Author

@JonasKunz please have a look

@zeitlinger zeitlinger changed the title Inferred spans declarative config: support Inferred spans Aug 15, 2025
@zeitlinger
Copy link
Member Author

@jaydeluca please have a look

@zeitlinger
Copy link
Member Author

@jaydeluca please check again

Comment on lines +6 to +7
description = "OpenTelemetry extension that provides a bridge for declarative configuration."
otelJava.moduleName.set("io.opentelemetry.contrib.sdk.config.bridge")
Copy link
Member

Choose a reason for hiding this comment

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

can you add a README for this module, and describe why it's needed? thanks

Copy link
Member Author

Choose a reason for hiding this comment

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

done - as agreed, I've also added @jaydeluca as co-component owner

Copy link
Member

Choose a reason for hiding this comment

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

thanks, makes sense now

would you mind doing this in two steps, first adding declarative config support without creating a reusable bridge component, and then we can circle back to the reusable bridge concept afterwards? if we are going to create a reusable bridge, it might make sense for it to be in core, but that will require more consideration and discussions

Copy link
Member Author

Choose a reason for hiding this comment

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

without creating a reusable bridge component

  • it's actually copied from the agent (and we can re-use it in the agent later) (@laurit reviewed it there)
  • not sure what you mean by "without" - do you mean to copy-paste the entire config related logic? or simply move the classes to the inferred spans project?

If we are going to create a reusable bridge, it might make sense for it to be in core, but that will require more consideration and discussions

  • core only implements things that are specified - but I'm open to doing that too
  • I would suggest doing the move as a follow-up task

@zeitlinger zeitlinger changed the title declarative config: support Inferred spans declarative config: declarative config bridge, support Inferred spans Aug 19, 2025
@otelbot-java-contrib
Copy link
Contributor

🔧 The result from spotlessApply was committed to the PR branch.

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.

Declarative config: support inferred spans