[ 
https://issues.apache.org/jira/browse/GEODE-6558?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Kirk Lund resolved GEODE-6558.
------------------------------
       Resolution: Fixed
    Fix Version/s: 1.10.0

> 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: 1.5h
>  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)

Reply via email to