Giter Site home page Giter Site logo

jorritsalverda / jaeger-client-cpp Goto Github PK

View Code? Open in Web Editor NEW

This project forked from jaegertracing/jaeger-client-cpp

0.0 2.0 0.0 383 KB

C++ OpenTracing binding for Jaeger

Home Page: https://jaegertracing.io/

License: Apache License 2.0

Python 1.22% CMake 9.20% Dockerfile 0.04% C++ 88.77% Shell 0.78%

jaeger-client-cpp's Introduction

Build Status Coverage Status OpenTracing 1.0 Enabled

jaeger-client-cpp

C++ OpenTracing binding for Jaeger

Contributing

Please see CONTRIBUTING.md.

Building

jaeger-client-cpp is built using CMake. It will automatically download needed dependencies using Hunter.

To build:

    mkdir build
    cd build
    cmake ..
    make

After building, the example program can be run with:

    ./app ../examples/config.yml

To run tests:

    make test

To install the library:

    make install

Generated files

This project uses Apache Thrift for wire-format protocol support code generation. It currently requires Thrift 0.11.0.

The code can be re-generated with

    $ git submodule update --init
    $ find idl/thrift/ -type f -name \*.thrift -exec thrift -gen cpp -out src/jaegertracing/thrift-gen {} \;
    $ git apply scripts/thrift-gen.patch

Updating Agent Host and Port

The default agent host and port is 127.0.0.1:6831, you can use a different host/port by updating your reporter configuration.

YAML configuration:

repoter:
  localAgentHostPort: localhost:6831

NOTE: It is not recommended to use a remote host for UDP connections.

Updating Sampling Server URL

The default sampling collector URL is http://127.0.0.1:5778, you can use a different URL by updating the sampler configuration.

sampler:
  samplingServerURL: http://jaeger-collector.local:5778

License

Apache 2.0 License.

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.