Class NamespaceDiscovery

    • Constructor Detail

      • NamespaceDiscovery

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

        public NamespaceDiscovery​(List<String> names,
                                  Boolean ownNamespace)
    • Method Detail

      • getNames

        public List<String> getNames()
        names defines a list of namespaces where to watch for resources. If empty and `ownNamespace` isn't true, Prometheus watches for resources in all namespaces.
      • setNames

        public void setNames​(List<String> names)
        names defines a list of namespaces where to watch for resources. If empty and `ownNamespace` isn't true, Prometheus watches for resources in all namespaces.
      • getOwnNamespace

        public Boolean getOwnNamespace()
        ownNamespace includes the namespace in which the Prometheus pod runs to the list of watched namespaces.
      • setOwnNamespace

        public void setOwnNamespace​(Boolean ownNamespace)
        ownNamespace includes the namespace in which the Prometheus pod runs to the list of watched namespaces.
      • getAdditionalProperties

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

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

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