Class AttachMetadata

    • Constructor Detail

      • AttachMetadata

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

        public AttachMetadata​(Boolean node)
    • Method Detail

      • getNode

        public Boolean getNode()
        node attaches node metadata to discovered targets. When set to true, Prometheus must have the `get` permission on the `Nodes` objects. Only valid for Pod, Endpoint and Endpointslice roles.
      • setNode

        public void setNode​(Boolean node)
        node attaches node metadata to discovered targets. When set to true, Prometheus must have the `get` permission on the `Nodes` objects. Only valid for Pod, Endpoint and Endpointslice roles.
      • getAdditionalProperties

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

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

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