Uses of Class
io.helidon.integrations.oci.metrics.OciMetricsSupport.Builder
Package
Description
Integrating with OCI Metrics.
Integrating with OCI Metrics Using CDI.
-
Uses of OciMetricsSupport.Builder in io.helidon.integrations.oci.metrics
Modifier and TypeMethodDescriptionOciMetricsSupport.Builder.batchDelay
(long value) Sets the delay interval if metrics are posted in batches (defaults to 1L).OciMetricsSupport.Builder.batchSize
(int value) Sets the maximum no.static OciMetricsSupport.Builder
OciMetricsSupport.builder()
Returns a newBuilder
for creating an instance ofOciMetricsSupport
.OciMetricsSupport.Builder.compartmentId
(String value) Sets the compartment ID.Updates the builder using the specified OCI metricsConfig
node.OciMetricsSupport.Builder.delay
(long value) Sets the delay interval between metric posting (defaults to 60L).OciMetricsSupport.Builder.descriptionEnabled
(boolean value) Sets whether the description should be enabled or not.OciMetricsSupport.Builder.enabled
(boolean value) Sets whether metrics transmission to OCI is enabled.OciMetricsSupport.Builder.initialDelay
(long value) Sets the initial delay before metrics are sent to OCI (defaults to 1L).OciMetricsSupport.Builder.monitoringClient
(com.oracle.bmc.monitoring.Monitoring monitoringClient) Sets theMonitoring
client instance to use in sending metrics to OCI.OciMetricsSupport.Builder.nameFormatter
(OciMetricsSupport.NameFormatter nameFormatter) Sets theOciMetricsSupport.NameFormatter
to use in formatting metric names.Sets the namespace.protected OciMetricsSupport.Builder
OciMetricsSupportFactory.ociMetricsSupportBuilder
(Config rootConfig, Config ociMetricsConfig, com.oracle.bmc.monitoring.Monitoring monitoring) Returns the builder for constructing a newOciMetricsSupport
instance, initialized using the config retrieved using theOciMetricsSupportFactory.configKey()
return value and the providedMonitoring
instance.OciMetricsSupport.Builder.resourceGroup
(String value) Sets the resource group.OciMetricsSupport.Builder.schedulingTimeUnit
(TimeUnit timeUnit) Sets the time unit applied to the initial delay and delay values (defaults toTimeUnit.SECONDS
).Sets which metrics scopes (e.g., base, vendor, application) should be sent to OCI.Modifier and TypeMethodDescriptionprotected abstract void
OciMetricsSupportFactory.activateOciMetricsSupport
(Config rootConfig, Config ociMetricsConfig, OciMetricsSupport.Builder builder) Activates OCI metrics support. -
Uses of OciMetricsSupport.Builder in io.helidon.integrations.oci.metrics.cdi
Modifier and TypeMethodDescriptionprotected void
OciMetricsBean.activateOciMetricsSupport
(Config rootConfig, Config ociMetricsConfig, OciMetricsSupport.Builder builder)