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

jmx-scraper add missing custom yaml support #1741

Merged
merged 4 commits into from
Feb 19, 2025

Conversation

SylvainJuge
Copy link
Contributor

While working on #1710 I found that the io.opentelemetry.contrib.jmxscraper.JmxScraperContainer#withCustomYaml was not used, which means using custom yaml feature was not properly tested with integration tests.

It turns out that the feature was not only not tested but also not implemented, so this PR fixes both.

Testing extends the tests for the jvm target system to avoid creating duplication and also allows to test usage when combined with otel.jmx.target.system.

Copy link
Contributor

@robsunday robsunday left a comment

Choose a reason for hiding this comment

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

Approved, however it would be nice to add one more test.

@trask trask merged commit f1ea742 into open-telemetry:main Feb 19, 2025
18 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.

4 participants