open-telemetry / open-telemetry/opentelemetry-java-instrumentation

Thread and Thread pool metric automatic instrumentation

Open
#11,149 16 comments 4 reactions 1 assignee View on GitHub

@pepeshore is already working on this.

Since May 10, 2024.

contribution welcome enhancement new instrumentation
Dominant language
Java
Stars
2.6k
Forks
1.2k
Avg merge
2d 18h
Merged PRs (30d)
228

Description

Is your feature request related to a problem? Please describe.

Getting thread metrics is pretty important, and is supported by most APMs. Before I can get all of my service owners to switch off of whatever APM they're currently using, I need at least a reasonable degree of feature parity in the metrics.

Describe the solution you'd like

Thread metrics available to export to otel and/or serve via prometheus. Including

  • number of current threads total
  • number of threads used out of a thread pool
  • number of runnables executed by that pool
  • pool queue size
Describe alternatives you've considered

No response

Additional context

No response

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.