mairovichaa
mairovichaa
To simplify unit testing it would be nice to have utility methods, which will ease retrieval of current Metric's values. Example, which could be used as the starting point -...
Now it's all or nothing in terms of **_MetricsProducer_** choice. It's suggested to add possibility to override particular _**MetricsProducer**_ (for example, to provide client's version of _**GarbageCollectorsMetricsProducer**_ without overriding all...
Now ScheduledExecutorService is in use and there is no default implementation, which allows to execute metrics updates in the same thread they took place. Meantime, it seems to be bad...
Now **_MetricRegistry_** accepts **_ScheduledExecutorService_**, which is used for execution of "heavy" operations like creation of **_Metric_** with labels. There is no much information about this in docs - we should...
To reduce time required for test runs application context is reused sometimes in different tests. It is highly relevant for integration tests. By "application context" here could be considered Spring-context....