JMX Metrics for Newts disappeared

Description

This problem doesn't exist on H24, Meridian2018 or even early snapshots of H25.

With the current state of the develop branch, there are no Newts statistics when collecting data through JMX from the OpenNMS server, but data collection is happening normally and data is being stored on Cassandra/ScyllaBD through Newts without issues (for other JMX stats, SNMP, etc.).

On hawtio, I cannot see any statistics associated with org.opennms.newts.

Without these statistics, there is no visibility of the injection rate, the expensive indexing phase, resource cache, ring buffer, newts disk usage, etc.

In other words, you'll be 100% blind when using Newts, with no way to know if your settings are correct or not, as these statistics are unavailable on Cassandra or ScyllaDB, as they reflect the Newts usage from OpenNMS's perspective.

For this reason, I marked this issue as a bloquer.

Acceptance / Success Criteria

None

Attachments

1

Lucidchart Diagrams

Activity

Jesse White September 13, 2019 at 7:22 PM

Jesse White August 8, 2019 at 6:22 PM

This is a bug with the way in which the corresponding MetricRegistry is wired in - probably a regression from https://issues.opennms.org/browse/NMS-12182.

The metrics are still exposed via JMX, but appear in org.opennms.netmgt.eventd instead.

Fixed

Details

Assignee

Reporter

Components

Sprint

Fix versions

Affects versions

Priority

PagerDuty

Created August 8, 2019 at 4:37 PM
Updated March 1, 2021 at 2:22 PM
Resolved September 16, 2019 at 1:26 PM