Details
-
Improvement
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
Commons Metrics 1.2.0
-
None
Description
Metrics are useful in all classes, not only OSGi components, so getting the MetricsService should be as useful as getting a Logger for example.
I'll add a public MetricsServiceFactory class to our metrics module, usable like
MetricsService ms = MetricsServiceFactory.getMetricsService(this.getClass());
There's already a private MetricsServiceFactory class in that module, I'll rename that to InternalMetricsServiceFactory to avoid confusion.
Attachments
Issue Links
- is related to
-
OAK-5973 Metrics integration should expose endpoints in an non flat name space
- Open