Package io.opentelemetry.api.common
Class LabelsBuilder
- java.lang.Object
-
- io.opentelemetry.api.common.LabelsBuilder
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Labels
build()
Create theLabels
from this.LabelsBuilder
put(String key, String value)
Puts a single label into this Builder.
-
-
-
Method Detail
-
put
public LabelsBuilder put(String key, String value)
Puts a single label into this Builder.- Returns:
- this Builder
-
-