ArpNetworking / metrics

Metrics project including a tsd aggregator and web-based visualization.
Apache License 2.0
4 stars 11 forks source link

Fix classpath issues (com.inscopemetrics -> io.inscopemetrics) #29

Closed philkjacobs closed 4 years ago

philkjacobs commented 4 years ago

To correctly match the classpaths found in https://github.com/ArpNetworking/metrics-aggregator-daemon/tree/master-2.0/src/main/java/io/inscopemetrics/mad

Before this change we would see classpath errors on startup similar to

[ERROR] io.inscopemetrics.mad.configuration.jackson.DynamicConfiguration : name="log", message="Validation of offered configuration failed",
...
Caused by: com.fasterxml.jackson.databind.exc.InvalidTypeIdException: Could not resolve type id 'com.inscopemetrics.mad.sinks.PeriodicStatisticsSink' as a subtype of [simple type, class io.inscopemetrics.mad.sinks.Sink]: no such class found
 at [Source: UNKNOWN; line: -1, column: -1] (through reference chain: io.inscopemetrics.mad.configuration.PipelineConfiguration$Builder["sinks"]->java.util.ArrayList[0])