Package io.confluent.telemetry
Interface ResourceLabelProvider
- All Known Implementing Classes:
HostResourceLabelProvider,JavaRuntimeResourceLabelProvider
public interface ResourceLabelProvider
Provides labels from the runtime context (Cloud, Deployment, Host, JVM, etc) that can be set on
the
Resource.-
Method Summary
-
Method Details
-
getLabels
Get labels to be set on theResource. The labels should be namespaced according to the conventions defined here.- Returns:
- A (possibly empty) map of label-value pairs.
-