Skip to content
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

Add tomcat-jdbc connection pool metrics instrumentation #6102

Merged

Conversation

breedx-splk
Copy link
Contributor

This adds metrics instrumentation for the Tomcat jdbc connection pool. It includes tracking of:

  • active count
  • idle count
  • min idle
  • max idle
  • max active
  • blocked/pending (db.client.connections.pending_requests)

@breedx-splk breedx-splk requested a review from a team May 27, 2022 00:10
@trask
Copy link
Member

trask commented May 27, 2022

can you update supported-libraries.md?

testing.clearData();

// then
assertNoConnectionPoolMetrics();
Copy link
Member

Choose a reason for hiding this comment

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

do we need to wait at least [metric interval] before this assertion?

also having similar conversation #6099 (comment)

@trask trask merged commit f1a746d into open-telemetry:main Jun 2, 2022
@trask
Copy link
Member

trask commented Jun 2, 2022

thx @breedx-splk!

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.

3 participants