Class: Gitlab::HealthChecks::Metric

Inherits:
Struct
  • Object
show all
Defined in:
lib/gitlab/health_checks/metric.rb

Instance Attribute Summary collapse

Instance Attribute Details

#labelsObject

Returns the value of attribute labels

Returns:

  • (Object)

    the current value of labels


6
7
8
# File 'lib/gitlab/health_checks/metric.rb', line 6

def labels
  @labels
end

#nameObject

Returns the value of attribute name

Returns:

  • (Object)

    the current value of name


6
7
8
# File 'lib/gitlab/health_checks/metric.rb', line 6

def name
  @name
end

#valueObject

Returns the value of attribute value

Returns:

  • (Object)

    the current value of value


6
7
8
# File 'lib/gitlab/health_checks/metric.rb', line 6

def value
  @value
end