opentelemetry-java-contrib/resource-providers
jack-berg 6453d874e9
Jfr streaming version (#721)
Resolves #707. Builds on #716. 

Turns out this wasn't a good first issue because there was some gradle
buildSrc work needed to add a file with the version that the source code
could read. Lifted the source for this from
[opentelemetry-java](https://github.com/open-telemetry/opentelemetry-java/blob/main/buildSrc/src/main/kotlin/otel.java-conventions.gradle.kts#L144-L165).

---------

Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
2023-02-02 08:27:25 -06:00
..
src Jfr streaming version (#721) 2023-02-02 08:27:25 -06:00
README.md Add remaining app server service name detectors (#583) 2022-11-16 08:10:49 -08:00
build.gradle.kts Jfr streaming version (#721) 2023-02-02 08:27:25 -06:00

README.md

Resource Providers

This module contains various ResourceProvider implementations.

AppServerServiceNameProvider

This ResourceProvider will delegate to a collection of helpers that attempt to populate the service.name resource attribute based on the runtime configuration of an app server. This is useful when a user has not yet specified the service.name resource attribute manually.

This ResourceProvider supports .ear and .war archives as well as exploded directory versions of each. For .war files, it attempts to parse the <web-app> element from WEB-INF/web.xml. For .ear files the <application> element of META-INF/application.xml.

It is capable of detecting common scenarios among the popular application servers listed below:

  • Apache Tomcat
  • Apache TomEE
  • Eclipse Jetty
  • GlassFish
  • IBM Websphere
  • IBM Websphere Liberty
  • Wildfly

Component owners

Learn more about component owners in component_owners.yml.