Dimension

class oci.apm_config.models.Dimension(**kwargs)

Bases: object

A dimension is a label that is used to describe or group metrics.

Methods:

__init__(**kwargs)

Initializes a new Dimension object with values from keyword arguments.

Attributes:

name

[Required] Gets the name of this Dimension.

value_source

Gets the value_source of this Dimension.

__init__(**kwargs)

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

Parameters
  • name (str) – The value to assign to the name property of this Dimension.

  • value_source (str) – The value to assign to the value_source property of this Dimension.

property name

[Required] Gets the name of this Dimension. The name of the dimension.

Returns

The name of this Dimension.

Return type

str

property value_source

Gets the value_source of this Dimension. The source to populate the dimension. This must not be specified.

Returns

The value_source of this Dimension.

Return type

str