Class NativeHistogramConfig

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

    @Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator")
    public class NativeHistogramConfig
    extends Object
    implements io.fabric8.kubernetes.api.builder.Editable<NativeHistogramConfigBuilder>, io.fabric8.kubernetes.api.model.KubernetesResource
    NativeHistogramConfig extends the native histogram configuration settings.
    See Also:
    Serialized Form
    • Constructor Detail

      • NativeHistogramConfig

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

        public NativeHistogramConfig​(Boolean convertClassicHistogramsToNHCB,
                                     Long nativeHistogramBucketLimit,
                                     io.fabric8.kubernetes.api.model.Quantity nativeHistogramMinBucketFactor,
                                     Boolean scrapeClassicHistograms)
    • Method Detail

      • getConvertClassicHistogramsToNHCB

        public Boolean getConvertClassicHistogramsToNHCB()
        Whether to convert all scraped classic histograms into a native histogram with custom buckets. It requires Prometheus >= v3.0.0.
      • setConvertClassicHistogramsToNHCB

        public void setConvertClassicHistogramsToNHCB​(Boolean convertClassicHistogramsToNHCB)
        Whether to convert all scraped classic histograms into a native histogram with custom buckets. It requires Prometheus >= v3.0.0.
      • getNativeHistogramBucketLimit

        public Long getNativeHistogramBucketLimit()
        If there are more than this many buckets in a native histogram, buckets will be merged to stay within the limit. It requires Prometheus >= v2.45.0.
      • setNativeHistogramBucketLimit

        public void setNativeHistogramBucketLimit​(Long nativeHistogramBucketLimit)
        If there are more than this many buckets in a native histogram, buckets will be merged to stay within the limit. It requires Prometheus >= v2.45.0.
      • getNativeHistogramMinBucketFactor

        public io.fabric8.kubernetes.api.model.Quantity getNativeHistogramMinBucketFactor()
        NativeHistogramConfig extends the native histogram configuration settings.
      • setNativeHistogramMinBucketFactor

        public void setNativeHistogramMinBucketFactor​(io.fabric8.kubernetes.api.model.Quantity nativeHistogramMinBucketFactor)
        NativeHistogramConfig extends the native histogram configuration settings.
      • getScrapeClassicHistograms

        public Boolean getScrapeClassicHistograms()
        Whether to scrape a classic histogram that is also exposed as a native histogram. It requires Prometheus >= v2.45.0.


        Notice: `scrapeClassicHistograms` corresponds to the `always_scrape_classic_histograms` field in the Prometheus configuration.

      • setScrapeClassicHistograms

        public void setScrapeClassicHistograms​(Boolean scrapeClassicHistograms)
        Whether to scrape a classic histogram that is also exposed as a native histogram. It requires Prometheus >= v2.45.0.


        Notice: `scrapeClassicHistograms` corresponds to the `always_scrape_classic_histograms` field in the Prometheus configuration.

      • getAdditionalProperties

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

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

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