You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It is referencing APIs that don't exists in Helidon 2.0
import io.helidon.metrics.RegistryFactory;
...
private final MetricRegistry registry = RegistryFactory.getRegistryFactory().get()
.getRegistry(MetricRegistry.Type.APPLICATION);
Environment Details
Problem Description
The 2.0 metrics documentation on helidon.io site seems incorrect
https://helidon.io/docs/v2/#/se/metrics/01_metrics
It is referencing APIs that don't exists in Helidon 2.0
import io.helidon.metrics.RegistryFactory;
...
private final MetricRegistry registry = RegistryFactory.getRegistryFactory().get()
.getRegistry(MetricRegistry.Type.APPLICATION);
The Helidon SE Metrics Guide uses the correct API
https://helidon.io/docs/v2/#/se/guides/05_metrics
RegistryFactory metricsRegistry = RegistryFactory.getInstance();
MetricRegistry appRegistry = metricsRegistry.getRegistry(MetricRegistry.Type.APPLICATION);
Steps to reproduce
The text was updated successfully, but these errors were encountered: