Package io.prometheus.client
Class Info.Child
- java.lang.Object
-
- io.prometheus.client.Info.Child
-
- Enclosing class:
- Info
public static class Info.Child extends java.lang.Object
The value of a single Info.Warning: References to a Child become invalid after using
SimpleCollector.remove(java.lang.String...)
orSimpleCollector.clear()
.
-
-
Field Summary
Fields Modifier and Type Field Description private java.util.List<java.lang.String>
labelNames
private java.util.Map<java.lang.String,java.lang.String>
value
-
Constructor Summary
Constructors Modifier Constructor Description private
Child(java.util.List<java.lang.String> labelNames)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Map<java.lang.String,java.lang.String>
get()
Get the info.void
info(java.lang.String... v)
Set the info.void
info(java.util.Map<java.lang.String,java.lang.String> v)
Set the info.
-