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 when set to true, Prometheus attaches node metadata to the discovered targets.


        The Prometheus service account must have the `list` and `watch` permissions on the `Nodes` objects.

      • setNode

        public void setNode​(Boolean node)
        node when set to true, Prometheus attaches node metadata to the discovered targets.


        The Prometheus service account must have the `list` and `watch` permissions on the `Nodes` objects.

      • getAdditionalProperties

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

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

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