class Google::Apis::MonitoringV3::CollectdPayload
A collection of data points sent from a collectd-based plugin. See the collectd documentation for more information.
Attributes
The end time of the interval. Corresponds to the JSON property `endTime` @return [String]
The measurement metadata. Example: “process_id” -> 12345 Corresponds to the JSON property `metadata` @return [Hash<String,Google::Apis::MonitoringV3::TypedValue>]
The name of the plugin. Example: “disk”. Corresponds to the JSON property `plugin` @return [String]
The instance name of the plugin Example: “hdcl”. Corresponds to the JSON property `pluginInstance` @return [String]
The start time of the interval. Corresponds to the JSON property `startTime` @return [String]
The measurement type. Example: “memory”. Corresponds to the JSON property `type` @return [String]
The measurement type instance. Example: “used”. Corresponds to the JSON property `typeInstance` @return [String]
The measured values during this time interval. Each value must have a different data_source_name. Corresponds to the JSON property `values` @return [Array<Google::Apis::MonitoringV3::CollectdValue>]
Public Class Methods
# File lib/google/apis/monitoring_v3/classes.rb, line 614 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File lib/google/apis/monitoring_v3/classes.rb, line 619 def update!(**args) @end_time = args[:end_time] if args.key?(:end_time) @metadata = args[:metadata] if args.key?(:metadata) @plugin = args[:plugin] if args.key?(:plugin) @plugin_instance = args[:plugin_instance] if args.key?(:plugin_instance) @start_time = args[:start_time] if args.key?(:start_time) @type = args[:type] if args.key?(:type) @type_instance = args[:type_instance] if args.key?(:type_instance) @values = args[:values] if args.key?(:values) end