Skip to content

MeterRegistryFactory lacks mechanism for configuration. #4262

@keith-turner

Description

@keith-turner

The MeterRegistryFactory does not have any mechanism for passing configuration. Since its likely metrics will need configuration (like a server to send metrics to) this leads to placing the configuration for the MeterRegistryFactory class and any options needed by the class in different places. For example the MeterRegistryFactory class would be configured in accumulo.properties files and if it needs the hostname of a server this might be set as java system prop in accumulo-env.sh.

This plugin could be modified to follow the pattern of many other SPI plugins for passing configuration to a plugin. Since a new type is being introduced in #4244, that presents a good opportunity to make this change.

Metadata

Metadata

Assignees

Labels

enhancementThis issue describes a new feature, improvement, or optimization.

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions