| Package | Description |
|---|---|
| io.helidon.metrics |
Metrics support for Java SE, uses the Microprofile metrics APIs and formats.
|
| Modifier and Type | Method and Description |
|---|---|
static RegistryFactory |
RegistryFactory.create()
Create a new factory with default configuration, with pre-filled
MetricRegistry.Type.VENDOR and
MetricRegistry.Type.BASE metrics. |
static RegistryFactory |
RegistryFactory.create(Config config)
Create a new factory with provided configuration, with pre filled
MetricRegistry.Type.VENDOR and
MetricRegistry.Type.BASE metrics. |
static RegistryFactory |
RegistryFactory.createSeFactory(Config config)
Deprecated.
use
create() or create(io.helidon.config.Config) instead when a new
registry factory instance is needed. Use getInstance() or getInstance(io.helidon.config.Config)
to retrieve the shared (singleton) instance. |
static RegistryFactory |
RegistryFactory.getInstance()
Get a singleton instance of the registry factory.
|
static RegistryFactory |
RegistryFactory.getInstance(Config config)
Get a singleton instance of the registry factory for and update it with provided configuration.
|
| Modifier and Type | Method and Description |
|---|---|
static Supplier<RegistryFactory> |
RegistryFactory.getRegistryFactory()
Deprecated.
use
RegistryFactory::getInstance instead. |
| Modifier and Type | Method and Description |
|---|---|
MetricsSupport.Builder |
MetricsSupport.Builder.registryFactory(RegistryFactory factory)
If you want to have mutliple registry factories with different endpoints, you may
create them using
create(io.helidon.config.Config) or
create() and create multiple MetricsSupport instances
with different contexts. |
Copyright © 2018–2019 Oracle and/or its affiliates. All rights reserved. Use is subject to license terms.