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
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
activateOciMetricsSupport
(Config rootConfig, Config ociMetricsConfig, OciMetricsSupport.Builder builder) Activates OCI metrics support.protected String
Returns 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:OciMetricsSupportFactory
Returns the config key to use for retrieving OCI metrics settings from the root config.- Specified by:
configKey
in classOciMetricsSupportFactory
- Returns:
- config key for OCI metrics settings
-
activateOciMetricsSupport
protected void activateOciMetricsSupport(Config rootConfig, Config ociMetricsConfig, OciMetricsSupport.Builder builder) Description copied from class:OciMetricsSupportFactory
Activates OCI metrics support.- Specified by:
activateOciMetricsSupport
in classOciMetricsSupportFactory
- Parameters:
rootConfig
- root config nodeociMetricsConfig
- OCI metrics configurationbuilder
-OciMetricsSupport.Builder
instance
-