KEMBAR78
Thread name in OpenTelemetry output by fandreuz · Pull Request #1448 · async-profiler/async-profiler · GitHub
Skip to content

Conversation

fandreuz
Copy link
Contributor

@fandreuz fandreuz commented Aug 22, 2025

Description

thread.name is an optional Sample attribute. We can provide it when it is available.

Related issues

#1436

Motivation and context

Will simplify testing of #1436.

How has this been tested?

New test.


By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@fandreuz fandreuz changed the title Provide thread name in OpenTelemetry output Thread name in OpenTelemetry output Aug 22, 2025
if (!threadName.isPresent()) continue;
threadNames.add(threadName.get().getStringValue());
}
boolean cpuBurnerFound = threadNames.stream().anyMatch("CpuBurnerWorker"::equals);
Copy link
Member

Choose a reason for hiding this comment

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

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Ouch, this made a bit more sense before 7adc344

Now it doesn't indeed: 82a0842

@apangin apangin merged commit 6ebadb8 into async-profiler:master Aug 28, 2025
20 checks passed
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