Skip to content

JMX declarative config use target.system instead of target_system#15856

Merged
laurit merged 3 commits intoopen-telemetry:mainfrom
SylvainJuge:jmx-declarative-config-fix
Jan 14, 2026
Merged

JMX declarative config use target.system instead of target_system#15856
laurit merged 3 commits intoopen-telemetry:mainfrom
SylvainJuge:jmx-declarative-config-fix

Conversation

@SylvainJuge
Copy link
Copy Markdown
Contributor

When adding declarative configuration for JMX in #15733, the target_system configuration was used for otel.jmx.target.system.

The JMX Scraper also have otel.jmx.target.source, so that implies we'll have to use target_source there as well.

Because with JMX Scraper we have both target.system and target.source I think it would make sense to use target with two system and source attributes in declarative config.

@SylvainJuge SylvainJuge marked this pull request as ready for review January 14, 2026 08:31
@SylvainJuge SylvainJuge requested a review from a team as a code owner January 14, 2026 08:31
@laurit laurit merged commit 3d1d7a3 into open-telemetry:main Jan 14, 2026
85 checks passed
@SylvainJuge SylvainJuge deleted the jmx-declarative-config-fix branch March 13, 2026 12:29
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.

5 participants