Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OpenTracing on Websphere liberty #10

Open
doychin opened this issue Oct 31, 2018 · 0 comments
Open

OpenTracing on Websphere liberty #10

doychin opened this issue Oct 31, 2018 · 0 comments

Comments

@doychin
Copy link
Contributor

doychin commented Oct 31, 2018

In order to activate open tracing on WebSphere liberty microprofile an additional feature must be installed before final JAR is packaged.
For that this section is required in the maven file:

<plugin>
   <groupId>com.googlecode.maven-download-plugin</groupId>
   <artifactId>download-maven-plugin</artifactId>
   <version>1.4.0</version>
   <executions>
     <execution>
       <id>install-tracer</id>
       <phase>prepare-package</phase>
       <goals>
         <goal>wget</goal>
       </goals>
       <configuration>
         <url>https://github.com/WASdev/sample.opentracing.zipkintracer/releases/download/1.0/liberty-opentracing-zipkintracer-1.0-sample.zip</url>
         <unpack>true</unpack>
         <outputDirectory>${project.build.directory}/liberty/wlp/usr</outputDirectory>
       </configuration>
     </execution>
   </executions>
  </plugin>

There is a newer version of zipkin feature (1.1) which can also be used.

The problem is in the packaging part of WebSphere liberty maven plugin. It does not include the downloaded extension fold in the final JAR file.

Maven plugin actually calls WebSphere server to do the packaging.

A fix from IBM is required.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant