Class QueueConfig

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

    @Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator")
    public class QueueConfig
    extends Object
    implements io.fabric8.kubernetes.api.builder.Editable<QueueConfigBuilder>, io.fabric8.kubernetes.api.model.KubernetesResource
    QueueConfig allows the tuning of remote write's queue_config parameters. This object is referenced in the RemoteWriteSpec object.
    See Also:
    Serialized Form
    • Constructor Detail

      • QueueConfig

        public QueueConfig()
        No args constructor for use in serialization
    • Method Detail

      • getBatchSendDeadline

        public String getBatchSendDeadline()
        BatchSendDeadline is the maximum time a sample will wait in buffer.
      • setBatchSendDeadline

        public void setBatchSendDeadline​(String batchSendDeadline)
        BatchSendDeadline is the maximum time a sample will wait in buffer.
      • getCapacity

        public Integer getCapacity()
        Capacity is the number of samples to buffer per shard before we start dropping them.
      • setCapacity

        public void setCapacity​(Integer capacity)
        Capacity is the number of samples to buffer per shard before we start dropping them.
      • getMaxBackoff

        public String getMaxBackoff()
        MaxBackoff is the maximum retry delay.
      • setMaxBackoff

        public void setMaxBackoff​(String maxBackoff)
        MaxBackoff is the maximum retry delay.
      • getMaxRetries

        public Integer getMaxRetries()
        MaxRetries is the maximum number of times to retry a batch on recoverable errors.
      • setMaxRetries

        public void setMaxRetries​(Integer maxRetries)
        MaxRetries is the maximum number of times to retry a batch on recoverable errors.
      • getMaxSamplesPerSend

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

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

        public Integer getMaxShards()
        MaxShards is the maximum number of shards, i.e. amount of concurrency.
      • setMaxShards

        public void setMaxShards​(Integer maxShards)
        MaxShards is the maximum number of shards, i.e. amount of concurrency.
      • getMinBackoff

        public String getMinBackoff()
        MinBackoff is the initial retry delay. Gets doubled for every retry.
      • setMinBackoff

        public void setMinBackoff​(String minBackoff)
        MinBackoff is the initial retry delay. Gets doubled for every retry.
      • getMinShards

        public Integer getMinShards()
        MinShards is the minimum number of shards, i.e. amount of concurrency.
      • setMinShards

        public void setMinShards​(Integer minShards)
        MinShards is the minimum number of shards, i.e. amount of concurrency.
      • getRetryOnRateLimit

        public Boolean getRetryOnRateLimit()
        Retry upon receiving a 429 status code from the remote-write storage.


        This is an *experimental feature*, it may change in any upcoming release in a breaking way.

      • setRetryOnRateLimit

        public void setRetryOnRateLimit​(Boolean retryOnRateLimit)
        Retry upon receiving a 429 status code from the remote-write storage.


        This is an *experimental feature*, it may change in any upcoming release in a breaking way.

      • getSampleAgeLimit

        public String getSampleAgeLimit()
        SampleAgeLimit drops samples older than the limit. It requires Prometheus >= v2.50.0 or Thanos >= v0.32.0.
      • setSampleAgeLimit

        public void setSampleAgeLimit​(String sampleAgeLimit)
        SampleAgeLimit drops samples older than the limit. It requires Prometheus >= v2.50.0 or Thanos >= v0.32.0.
      • getAdditionalProperties

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

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

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