Skip to content

spring starter: add thread details instrumentation / configure logging span exporter #14117

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 27 commits into
base: main
Choose a base branch
from

Conversation

zeitlinger
Copy link
Member

@zeitlinger zeitlinger commented Jun 24, 2025

Part of #14087

@zeitlinger zeitlinger requested a review from a team as a code owner June 24, 2025 14:10
@github-actions github-actions bot added the test native This label can be applied to PRs to trigger them to run native tests label Jun 24, 2025
@zeitlinger zeitlinger marked this pull request as draft June 26, 2025 13:30
@zeitlinger zeitlinger moved this from In Progress to Blocked in Declarative Configuration: Java Jun 26, 2025
@zeitlinger zeitlinger moved this from Blocked to In Progress in Declarative Configuration: Java Jul 7, 2025
@zeitlinger zeitlinger changed the title add thread details instrumentation to spring starter spring starter: add thread details instrumentation / configure logging span exporter Jul 8, 2025
@zeitlinger zeitlinger marked this pull request as ready for review July 8, 2025 14:01
@zeitlinger zeitlinger self-assigned this Jul 8, 2025
@zeitlinger
Copy link
Member Author

@laurit please have a look 😄

* This class is internal and is hence not for public use. Its APIs are unstable and can change at
* any time.
*/
@ConditionalOnEnabledInstrumentation(module = "common.thread-details", enabledByDefault = false)
Copy link
Contributor

Choose a reason for hiding this comment

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

agent enables this by default

Copy link
Member Author

Choose a reason for hiding this comment

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

Copy link
Member Author

Choose a reason for hiding this comment

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

@trask please check if thread details should be disabled by default

Copy link
Member

Choose a reason for hiding this comment

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

sorry, I forgot to raise it in semconv meeting, I've added it to next week's agenda so I won't forget

Copy link
Member Author

Choose a reason for hiding this comment

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

@trask do you have an update?

Copy link
Member

Choose a reason for hiding this comment

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

yes, it should ideally be opt-in

Copy link
Member Author

Choose a reason for hiding this comment

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

then it looks like we can leave it as is

@zeitlinger zeitlinger moved this from In Progress to Awaiting Review in Declarative Configuration: Java Jul 15, 2025
@otelbot-java-instrumentation
Copy link
Contributor

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

zeitlinger and others added 2 commits August 6, 2025 13:20
…/io/opentelemetry/instrumentation/spring/autoconfigure/internal/instrumentation/logging/LoggingExporterAutoConfiguration.java
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
test native This label can be applied to PRs to trigger them to run native tests
Projects
Status: Awaiting Review
Development

Successfully merging this pull request may close these issues.

4 participants