dlmarion opened a new pull request, #6218: URL: https://github.com/apache/accumulo/pull/6218
Modified MetricsInfoImpl that enables the global registry to be re-initialized with new tags. The new reinit method closes and removes all MeterRegistries, clears the Meters from the global registry, and resets some other state to allow init() to be called again. reinit calls init with an updated list of common tags. Modified the Manager to call reinit in setupPrimaryMetrics, which is called when the Manager acquires the primary lock. Before this is called the metrics being emitted by the manager contain the tag `manager.primary=false` and after reinit the tag is `manager.primary=true`. Closes #6201 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
