Package io.opentelemetry.api.common
Interface LabelsBuilder
-
public interface LabelsBuilder
A builder ofLabels
supporting an arbitrary number of key-value pairs.
-
-
Method Summary
All Methods Instance Methods Abstract 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
LabelsBuilder put(String key, String value)
Puts a single label into this Builder.- Returns:
- this Builder
-
-