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