Class OciMetricsBean
java.lang.Object
io.helidon.integrations.oci.metrics.OciMetricsSupportFactory
io.helidon.integrations.oci.metrics.cdi.OciMetricsBean
CDI bean for preparing OCI metrics integration.
This bean relies on the OCI SDK integration to manufacture a Monitoring instance.
It is also extensible in case an upstream library needs to fine-tune the way the OCI metrics integration is set up.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidactivateOciMetricsSupport(Config rootConfig, Config ociMetricsConfig, OciMetricsSupport.Builder builder) Activates OCI metrics support.protected StringReturns the config key to use for retrieving OCI metrics settings from the root config.Methods inherited from class io.helidon.integrations.oci.metrics.OciMetricsSupportFactory
ociMetricsConfig, ociMetricsSupportBuilder, registerOciMetrics
-
Constructor Details
-
OciMetricsBean
Deprecated.For CDI use only.
-
-
Method Details
-
configKey
Description copied from class:OciMetricsSupportFactoryReturns the config key to use for retrieving OCI metrics settings from the root config.- Specified by:
configKeyin classOciMetricsSupportFactory- Returns:
- config key for OCI metrics settings
-
activateOciMetricsSupport
protected void activateOciMetricsSupport(Config rootConfig, Config ociMetricsConfig, OciMetricsSupport.Builder builder) Description copied from class:OciMetricsSupportFactoryActivates OCI metrics support.- Specified by:
activateOciMetricsSupportin classOciMetricsSupportFactory- Parameters:
rootConfig- root config nodeociMetricsConfig- OCI metrics configurationbuilder-OciMetricsSupport.Builderinstance
-