Class OciMetricsBean
- java.lang.Object
- 
- io.helidon.integrations.oci.metrics.cdi.OciMetricsBean
 
- 
 @Singleton public class OciMetricsBean extends Object CDI bean for preparing OCI metrics integration.This bean relies on the OCI SDK integration to manufacture a Monitoringinstance. It is also extensible in case an upstream library needs to fine-tune the way the OCI metrics integration is set up.
- 
- 
Constructor SummaryConstructors Constructor Description OciMetricsBean()Deprecated.
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidactivateOciMetricsSupport(Config rootConfig, Config ociMetricsConfig, OciMetricsSupport.Builder builder)Activates OCI metrics support.protected StringconfigKey()Returns the config key to use for retrieving OCI metrics settings from the root config.protected ConfigociMetricsConfig()Returns the OCI metrics config settings previously retrieved from the config root.protected OciMetricsSupport.BuilderociMetricsSupportBuilder(Config rootConfig, Config ociMetricsConfig, Monitoring monitoring)Returns the builder for constructing a newOciMetricsSupportinstance, initialized using the config retrieved using theconfigKey()return value and the providedMonitoringinstance.
 
- 
- 
- 
Constructor Detail- 
OciMetricsBean@Deprecated public OciMetricsBean() Deprecated.For CDI use only.
 
- 
 - 
Method Detail- 
configKeyprotected String configKey() Returns the config key to use for retrieving OCI metrics settings from the root config.- Returns:
- config key for OCI metrics settings
 
 - 
ociMetricsSupportBuilderprotected OciMetricsSupport.Builder ociMetricsSupportBuilder(Config rootConfig, Config ociMetricsConfig, Monitoring monitoring) Returns the builder for constructing a newOciMetricsSupportinstance, initialized using the config retrieved using theconfigKey()return value and the providedMonitoringinstance.- Parameters:
- rootConfig- root- Confignode
- ociMetricsConfig- config node for the OCI metrics settings
- monitoring- monitoring implementation to be used in preparing the- OciMetricsSupport.Builder.
- Returns:
- resulting builder
 
 - 
ociMetricsConfigprotected Config ociMetricsConfig() Returns the OCI metrics config settings previously retrieved from the config root.- Returns:
- OCI metrics config node
 
 - 
activateOciMetricsSupportprotected void activateOciMetricsSupport(Config rootConfig, Config ociMetricsConfig, OciMetricsSupport.Builder builder) Activates OCI metrics support.- Parameters:
- rootConfig- root config node
- ociMetricsConfig- OCI metrics configuration
- builder- builder for- OciMetricsSupport
 
 
- 
 
-