MetricNameConfigurationDetails

class oci.stack_monitoring.models.MetricNameConfigurationDetails(**kwargs)

Bases: object

Metric name generation overriding configurations.

Methods

__init__(**kwargs) Initializes a new MetricNameConfigurationDetails object with values from keyword arguments.

Attributes

exclude_pattern_on_prefix Gets the exclude_pattern_on_prefix of this MetricNameConfigurationDetails.
is_prefix_with_collector_type Gets the is_prefix_with_collector_type of this MetricNameConfigurationDetails.
__init__(**kwargs)

Initializes a new MetricNameConfigurationDetails object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters:
  • is_prefix_with_collector_type (bool) – The value to assign to the is_prefix_with_collector_type property of this MetricNameConfigurationDetails.
  • exclude_pattern_on_prefix (str) – The value to assign to the exclude_pattern_on_prefix property of this MetricNameConfigurationDetails.
exclude_pattern_on_prefix

Gets the exclude_pattern_on_prefix of this MetricNameConfigurationDetails. String pattern to be removed from the prefix of the metric name.

Returns:The exclude_pattern_on_prefix of this MetricNameConfigurationDetails.
Return type:str
is_prefix_with_collector_type

Gets the is_prefix_with_collector_type of this MetricNameConfigurationDetails. is prefixing the metric with collector type.

Returns:The is_prefix_with_collector_type of this MetricNameConfigurationDetails.
Return type:bool