Class ResourceUtils
- java.lang.Object
-
- io.opencensus.contrib.resource.util.ResourceUtils
-
public final class ResourceUtils extends java.lang.Object
Utilities for auto detecting resource based on the environment where the application is running.- Since:
- 0.20
-
-
Field Summary
Fields Modifier and Type Field Description (package private) static Resource
EMPTY_RESOURCE
-
Constructor Summary
Constructors Modifier Constructor Description private
ResourceUtils()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Resource
detectResource()
Returns aResource
.
-