Class Info.Child

java.lang.Object
io.prometheus.client.Info.Child
Enclosing class:
Info

public static class Info.Child extends Object
The value of a single Info.

Warning: References to a Child become invalid after using SimpleCollector.remove(java.lang.String...) or SimpleCollector.clear().

  • Field Details

  • Constructor Details

  • Method Details

    • info

      public void info(Map<String,String> v)
      Set the info.
    • info

      public void info(String... v)
      Set the info.
      Parameters:
      v - labels as pairs of key values
    • get

      public Map<String,String> get()
      Get the info.