Class ProbeTargetStaticConfig

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

    @Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator")
    public class ProbeTargetStaticConfig
    extends Object
    implements io.fabric8.kubernetes.api.builder.Editable<ProbeTargetStaticConfigBuilder>, io.fabric8.kubernetes.api.model.KubernetesResource
    ProbeTargetStaticConfig defines the set of static targets considered for probing.
    See Also:
    Serialized Form
    • Constructor Detail

      • ProbeTargetStaticConfig

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

      • getLabels

        public Map<String,​String> getLabels()
        Labels assigned to all metrics scraped from the targets.
      • setLabels

        public void setLabels​(Map<String,​String> labels)
        Labels assigned to all metrics scraped from the targets.
      • getRelabelingConfigs

        public List<RelabelConfig> getRelabelingConfigs()
        RelabelConfigs to apply to the label set of the targets before it gets scraped. More info: https://prometheus.io/docs/prometheus/latest/configuration/configuration/#relabel_config
      • setRelabelingConfigs

        public void setRelabelingConfigs​(List<RelabelConfig> relabelingConfigs)
        RelabelConfigs to apply to the label set of the targets before it gets scraped. More info: https://prometheus.io/docs/prometheus/latest/configuration/configuration/#relabel_config
      • getStatic

        public List<String> getStatic()
        The list of hosts to probe.
      • setStatic

        public void setStatic​(List<String> _static)
        The list of hosts to probe.
      • getAdditionalProperties

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

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

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