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

A specific metric, identified by specifying values for all of the labels of a MetricDescriptor.

Attributes

  • labels (type: map(), default: nil) - The set of label values that uniquely identify this metric. All labels listed in the MetricDescriptor must be assigned values.
  • type (type: String.t, default: nil) - An existing metric type, see google.api.MetricDescriptor. For example, custom.googleapis.com/invoice/paid/amount.

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.Metric{
  labels: map() | nil,
  type: String.t() | nil
}

Link to this section Functions

Specs

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

Unwrap a decoded JSON object into its complex fields.