GoogleApi.Monitoring.V3.Model.CollectdPayload (google_api_monitoring v0.46.3) View Source

A collection of data points sent from a collectd-based plugin. See the collectd documentation for more information.

Attributes

  • endTime (type: DateTime.t, default: nil) - The end time of the interval.
  • metadata (type: %{optional(String.t) => GoogleApi.Monitoring.V3.Model.TypedValue.t}, default: nil) - The measurement metadata. Example: "process_id" -> 12345
  • plugin (type: String.t, default: nil) - The name of the plugin. Example: "disk".
  • pluginInstance (type: String.t, default: nil) - The instance name of the plugin Example: "hdcl".
  • startTime (type: DateTime.t, default: nil) - The start time of the interval.
  • type (type: String.t, default: nil) - The measurement type. Example: "memory".
  • typeInstance (type: String.t, default: nil) - The measurement type instance. Example: "used".
  • values (type: list(GoogleApi.Monitoring.V3.Model.CollectdValue.t), default: nil) - The measured values during this time interval. Each value must have a different data_source_name.

Link to this section Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Link to this section Types

Specs

t() :: %GoogleApi.Monitoring.V3.Model.CollectdPayload{
  endTime: DateTime.t() | nil,
  metadata:
    %{optional(String.t()) => GoogleApi.Monitoring.V3.Model.TypedValue.t()}
    | nil,
  plugin: String.t() | nil,
  pluginInstance: String.t() | nil,
  startTime: DateTime.t() | nil,
  type: String.t() | nil,
  typeInstance: String.t() | nil,
  values: [GoogleApi.Monitoring.V3.Model.CollectdValue.t()] | nil
}

Link to this section Functions

Specs

decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.