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

Replace OTEL JMX Gatherer JAR with build with Tomcat metrics fix. #1240

Merged
merged 2 commits into from
Jul 9, 2024

Conversation

jefchien
Copy link
Contributor

@jefchien jefchien commented Jul 8, 2024

Description of the issue

The Tomcat metric (tomcat.sessions) is reporting an incorrect/incomplete value of 0 due to a bug in the metric collection in the OTEL JMX Gatherer. See open-telemetry/opentelemetry-java-contrib#1360 for details.

Description of changes

Includes a build of the OTEL JMX Gatherer JAR with the Tomcat metrics fix.

Pulled in dependencies for amazon-contributing/opentelemetry-collector-contrib#220

License

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Tests

Deployed to a host and verified that it was able to report the metric correctly.

image image

Requirements

Before commit the code, please do the following steps.

  1. Run make fmt and make fmt-sh
  2. Run make lint

@jefchien jefchien requested a review from a team as a code owner July 8, 2024 21:28
movence
movence previously approved these changes Jul 9, 2024
@jefchien jefchien merged commit 1232bb3 into main Jul 9, 2024
6 checks passed
@jefchien jefchien deleted the fix-jmx-metrics branch July 9, 2024 16:04
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