[ https://issues.apache.org/jira/browse/GEODE-6558?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16805530#comment-16805530 ]
ASF subversion and git services commented on GEODE-6558: -------------------------------------------------------- Commit d7911d629c387c3d029185fcd64e25136fa08fb0 in geode's branch refs/heads/feature/GEODE-6574-cms-list-members from Kirk Lund [ https://gitbox.apache.org/repos/asf?p=geode.git;h=d7911d6 ] GEODE-6558: Add InternalDistributedSystem.Builder (#3354) * Remove all but one constructor. * Replace newInstance methods with InternalDistributedSystem.Builder. * Replace newInstanceForTesting methods with InternalDistributedSystem.BuilderForTesting. * Replace public static boolean var ALLOW_MULTIPLE_SYSTEMS with usage of Boolean.getBoolean(ALLOW_MULTIPLE_SYSTEMS_PROPERTY) in connectInternal. Most code paths are using DistributedSystem.connect or InternalDistributedSystem.connectInternal to construct a system. connectInternal now uses InternalDistributedSystem.Builder. Several tests are using InternalDistributedSystem.BuilderForTesting. > Provide user with way to add meter subregistry to CacheFactory > -------------------------------------------------------------- > > Key: GEODE-6558 > URL: https://issues.apache.org/jira/browse/GEODE-6558 > Project: Geode > Issue Type: New Feature > Components: statistics > Reporter: Kirk Lund > Assignee: Kirk Lund > Priority: Major > Fix For: 1.10.0 > > Time Spent: 2h 50m > Remaining Estimate: 0h > > Provide user with way to add meter subregistry to CacheFactory. This approach > is an alternative to using MetricsPublishingService with Java's ServiceLoader. > Example: > {noformat} > MeterRegistry prometheusRegistry = new PrometheusMeterRegistry(...); > Cache cache = new CacheFactory() > .addMeterSubregistry(prometheusRegistry) > .create(); > {noformat} > The API should also allow the user to add multiple meter subregistries: > {noformat} > MeterRegistry prometheusRegistry = new PrometheusMeterRegistry(...); > MeterRegistry influxRegistry = new StatsdMeterRegistry(...); > MeterRegistry newRelicRegistry = new NewRelicMeterRegistry(...); > Cache cache = new CacheFactory() > .addMeterSubregistry(prometheusRegistry) > .addMeterSubregistry(influxRegistry) > .addMeterSubregistry(newRelicRegistry) > .create(); > {noformat} -- This message was sent by Atlassian JIRA (v7.6.3#76005)