package kubecaml

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type

Pods_metric_status indicates the current value of a metric describing each pod in the current scale target (for example, transactions_processed_per_second).

type t
val to_yojson : t -> Yojson.Safe.t
val make : metric_name:string -> current_average_value: Kubernetes.Definitions.Apimachinery.Pkg.Api.Resource.Quantity.t -> unit -> t

current_average_value is the current value of the average of the metric across all relevant pods (as a quantity)

val metric_name : t -> string

metric_name is the name of the metric in question

module Object : Object.S with type value := t