Skip to content

Commit

Permalink
#2221 Fixes API reference in Metrics docs (#2232)
Browse files Browse the repository at this point in the history
  • Loading branch information
ninadingole authored Aug 13, 2020
1 parent a554d67 commit bffda96
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/se/metrics/01_metrics.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ import org.eclipse.microprofile.metrics.MetricRegistry;
public class MyService implements Service {
private final MetricRegistry registry = RegistryFactory.getRegistryFactory().get()
private final MetricRegistry registry = RegistryFactory.getInstance()
.getRegistry(MetricRegistry.Type.APPLICATION); <1>
private final Counter accessCtr = registry.counter("accessctr"); <2>
Expand Down

0 comments on commit bffda96

Please sign in to comment.