org.eclipse.microprofile.metrics.annotation.RegistryType Java Examples
The following examples show how to use
org.eclipse.microprofile.metrics.annotation.RegistryType.
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: MetricRegistries.java From smallrye-metrics with Apache License 2.0 | 5 votes |
@Produces @Default @RegistryType(type = MetricRegistry.Type.APPLICATION) @ApplicationScoped public MetricRegistry getApplicationRegistry() { return get(MetricRegistry.Type.APPLICATION); }
Example #2
Source File: MetricRegistries.java From smallrye-metrics with Apache License 2.0 | 4 votes |
@Produces @RegistryType(type = MetricRegistry.Type.BASE) @ApplicationScoped public MetricRegistry getBaseRegistry() { return get(MetricRegistry.Type.BASE); }
Example #3
Source File: MetricRegistries.java From smallrye-metrics with Apache License 2.0 | 4 votes |
@Produces @RegistryType(type = MetricRegistry.Type.VENDOR) @ApplicationScoped public MetricRegistry getVendorRegistry() { return get(MetricRegistry.Type.VENDOR); }