OciMetricsSupport.Builder |
OciMetricsSupport.Builder.batchDelay(long value) |
Sets the delay interval if metrics are posted in batches
(defaults to 1L).
|
OciMetricsSupport.Builder |
OciMetricsSupport.Builder.batchSize(int value) |
Sets the maximum no.
|
static OciMetricsSupport.Builder |
OciMetricsSupport.builder() |
Returns a new Builder for creating an instance of OciMetricsSupport .
|
OciMetricsSupport.Builder |
OciMetricsSupport.Builder.compartmentId(String value) |
Sets the compartment ID.
|
OciMetricsSupport.Builder |
OciMetricsSupport.Builder.config(Config config) |
Updates the builder using the specified OCI metrics Config node.
|
OciMetricsSupport.Builder |
OciMetricsSupport.Builder.delay(long value) |
Sets the delay interval between metric posting
(defaults to 60L).
|
OciMetricsSupport.Builder |
OciMetricsSupport.Builder.descriptionEnabled(boolean value) |
Sets whether the description should be enabled or not.
|
OciMetricsSupport.Builder |
OciMetricsSupport.Builder.enabled(boolean value) |
Sets whether metrics transmission to OCI is enabled.
|
OciMetricsSupport.Builder |
OciMetricsSupport.Builder.initialDelay(long value) |
Sets the initial delay before metrics are sent to OCI
(defaults to 1L).
|
OciMetricsSupport.Builder |
OciMetricsSupport.Builder.monitoringClient(Monitoring monitoringClient) |
Sets the Monitoring client instance to use in sending metrics to OCI.
|
OciMetricsSupport.Builder |
OciMetricsSupport.Builder.nameFormatter(OciMetricsSupport.NameFormatter nameFormatter) |
|
OciMetricsSupport.Builder |
OciMetricsSupport.Builder.namespace(String value) |
Sets the namespace.
|
OciMetricsSupport.Builder |
OciMetricsSupport.Builder.resourceGroup(String value) |
Sets the resource group.
|
OciMetricsSupport.Builder |
OciMetricsSupport.Builder.schedulingTimeUnit(TimeUnit timeUnit) |
Sets the time unit applied to the initial delay and delay values (defaults to TimeUnit.SECONDS ).
|
OciMetricsSupport.Builder |
OciMetricsSupport.Builder.scopes(String[] value) |
Sets which metrics scopes (e.g., base, vendor, application) should be sent to OCI.
|