Class JarServiceNameResourceExtractor

java.lang.Object
io.opentelemetry.instrumentation.resources.internal.JarServiceNameResourceExtractor

public final class JarServiceNameResourceExtractor extends Object
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 Details

    • JarServiceNameResourceExtractor

      public JarServiceNameResourceExtractor()
  • Method Details

    • extract

      public io.opentelemetry.sdk.resources.Resource extract()