Class JarServiceNameResourceExtractor
java.lang.Object
io.opentelemetry.instrumentation.resources.internal.JarServiceNameResourceExtractor
A resource extractor that will attempt to detect the
service.name from the main jar
file name.
This class is internal and is hence not for public use. Its APIs are unstable and can change at any time.
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
JarServiceNameResourceExtractor
public JarServiceNameResourceExtractor()
-
-
Method Details
-
extract
public io.opentelemetry.sdk.resources.Resource extract()
-