Class MetadataConfig

  • All Implemented Interfaces:
    io.fabric8.kubernetes.api.builder.Editable<MetadataConfigBuilder>, io.fabric8.kubernetes.api.model.KubernetesResource, Serializable

    @Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator")
    public class MetadataConfig
    extends Object
    implements io.fabric8.kubernetes.api.builder.Editable<MetadataConfigBuilder>, io.fabric8.kubernetes.api.model.KubernetesResource
    MetadataConfig configures the sending of series metadata to the remote storage.
    See Also:
    Serialized Form
    • Constructor Detail

      • MetadataConfig

        public MetadataConfig()
        No args constructor for use in serialization
      • MetadataConfig

        public MetadataConfig​(Integer maxSamplesPerSend,
                              Boolean send,
                              String sendInterval)
    • Method Detail

      • getMaxSamplesPerSend

        public Integer getMaxSamplesPerSend()
        MaxSamplesPerSend is the maximum number of metadata samples per send.


        It requires Prometheus >= v2.29.0.

      • setMaxSamplesPerSend

        public void setMaxSamplesPerSend​(Integer maxSamplesPerSend)
        MaxSamplesPerSend is the maximum number of metadata samples per send.


        It requires Prometheus >= v2.29.0.

      • getSend

        public Boolean getSend()
        Defines whether metric metadata is sent to the remote storage or not.
      • setSend

        public void setSend​(Boolean send)
        Defines whether metric metadata is sent to the remote storage or not.
      • getSendInterval

        public String getSendInterval()
        Defines how frequently metric metadata is sent to the remote storage.
      • setSendInterval

        public void setSendInterval​(String sendInterval)
        Defines how frequently metric metadata is sent to the remote storage.
      • getAdditionalProperties

        public Map<String,​Object> getAdditionalProperties()
      • setAdditionalProperty

        public void setAdditionalProperty​(String name,
                                          Object value)
      • setAdditionalProperties

        public void setAdditionalProperties​(Map<String,​Object> additionalProperties)