Interface ResourceProvider
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
API to provide a Resource to be attached to all Spans created by Tracers.
- Since:
- 4.2.0
- Author:
- Sergio del Amo
-
Method Summary
-
Method Details
-
resource
@NonNull @NonNull io.opentelemetry.sdk.resources.Resource resource()- Returns:
- A Resource to be attached to all Spans created by Tracers.
-