Skip to content

Fix registration of custom JMX performance counters#1042

Merged
trask merged 2 commits into
masterfrom
trask/fix-jmx-configuration
Aug 29, 2019
Merged

Fix registration of custom JMX performance counters#1042
trask merged 2 commits into
masterfrom
trask/fix-jmx-configuration

Conversation

@trask

@trask trask commented Aug 29, 2019

Copy link
Copy Markdown
Member

Registration of custom JMX performance counters was failing with error:

Failed to register JMX performance counters: 'java.lang.ClassCastException: com.microsoft.applicationinsights.internal.config.WindowsPerformanceCounterXmlElement cannot be cast to com.microsoft.applicationinsights.internal.config.JmxXmlElement'

@trask trask added this to the 2.5.0 milestone Aug 29, 2019
@trask trask requested a review from littleaj August 29, 2019 05:20
@trask trask self-assigned this Aug 29, 2019
This was not broken, but seems better to change this as well, at least
for consistency, given the issue with Jmx configuration after migrating
from JAXB's XmlElementWrapper.

This covers all places that used to use JAXB's XmlElementWrapper before
migration to XStream.
@trask trask force-pushed the trask/fix-jmx-configuration branch from 3ecdd72 to 3db51de Compare August 29, 2019 16:40
@trask trask merged commit e37f39c into master Aug 29, 2019
@trask trask deleted the trask/fix-jmx-configuration branch August 29, 2019 21:10
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.

2 participants