Class: Aws::SagemakerEdgeManager::Types::EdgeMetric

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-sagemakeredgemanager/lib/aws-sdk-sagemakeredgemanager/types.rb

Overview

Note:

When making an API call, you may pass EdgeMetric data as a hash:

{
  dimension: "Dimension",
  metric_name: "Metric",
  value: 1.0,
  timestamp: Time.now,
}

Information required for edge device metrics.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#dimensionString

The dimension of metrics published.

Returns:

  • (String)


43
44
45
46
47
48
49
50
# File 'gems/aws-sdk-sagemakeredgemanager/lib/aws-sdk-sagemakeredgemanager/types.rb', line 43

class EdgeMetric < Struct.new(
  :dimension,
  :metric_name,
  :value,
  :timestamp)
  SENSITIVE = []
  include Aws::Structure
end

#metric_nameString

Returns the name of the metric.

Returns:

  • (String)


43
44
45
46
47
48
49
50
# File 'gems/aws-sdk-sagemakeredgemanager/lib/aws-sdk-sagemakeredgemanager/types.rb', line 43

class EdgeMetric < Struct.new(
  :dimension,
  :metric_name,
  :value,
  :timestamp)
  SENSITIVE = []
  include Aws::Structure
end

#timestampTime

Timestamp of when the metric was requested.

Returns:

  • (Time)


43
44
45
46
47
48
49
50
# File 'gems/aws-sdk-sagemakeredgemanager/lib/aws-sdk-sagemakeredgemanager/types.rb', line 43

class EdgeMetric < Struct.new(
  :dimension,
  :metric_name,
  :value,
  :timestamp)
  SENSITIVE = []
  include Aws::Structure
end

#valueFloat

Returns the value of the metric.

Returns:

  • (Float)


43
44
45
46
47
48
49
50
# File 'gems/aws-sdk-sagemakeredgemanager/lib/aws-sdk-sagemakeredgemanager/types.rb', line 43

class EdgeMetric < Struct.new(
  :dimension,
  :metric_name,
  :value,
  :timestamp)
  SENSITIVE = []
  include Aws::Structure
end