Giter Site home page Giter Site logo

freelinuxer / sample.opentracing.zipkintracer Goto Github PK

View Code? Open in Web Editor NEW

This project forked from wasdev/sample.opentracing.zipkintracer

1.0 2.0 0.0 20 KB

Zipkin Opentracing tracer implementation for use with Liberty

License: Apache License 2.0

Java 100.00%

sample.opentracing.zipkintracer's Introduction

Tracer Implementation

A demo project that shows how to implement a tracer for the Liberty opentracing-1.0 feature. Once implemented as an OSGI bundle a tracer can be included as a user feature that will automatically pull the opentracing-1.0 feature.

Building this project relies on the bnd-process plugin to process the bnd.bnd file which will generate the MANIFEST.MF to be included in the project. Additionally, annotations found in the OpentracingZipkinFactory.java file provide information for the manifest. If you decide to roll your own tracer, then you'll need to ensure your factory implementation provides these annotations to correctly generate the manifest file.

A set of tests are provided with this project that should make it possible to verify that the MANIFEST.MF and the OSGI-INF directory have the correct information in them.

opentracing-zipkin-tracer-impl

Run

mvn package

An extensions directory will be built in the target directory.

Copy the contents of the extensions directory to the ${wlp.user.dir} location.

For example:

cp -r target/extensions /opt/wlp/usr/

Then enable the feature with

<feature>usr:opentracingZipkin-0.30</feature>

in server.xml

Modifying the Zipkin host and port

You can observe in the metatype.xml that the pid provides opentracingZipkin as for modifying the default host and port that Liberty will look for the zipkin server on. This can be changed in the server.xml with xml.

<opentracingZipkin host="myhost.com" port="4433" />

sample.opentracing.zipkintracer's People

Contributors

dtadcox avatar steve-fontes avatar hughesj avatar

Stargazers

 avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.