Git Product home page Git Product logo

zio-telemetry-poc2's Introduction

zio-telemetry-poc2

Simply adding opentelemetry java agent will render span hello-fetch outside of hello trace in jaeger. Furthermore traces from autoinstrumentation are not included in root span. Remove java agent to compare results.

Trace without opentelemetry agent: traces trace detail

Trace with opentelemetry agent: traces

Reproduce:

  • Run jaeger

    ```
    docker run -d --name jaeger \
      -e COLLECTOR_ZIPKIN_HOST_PORT=:9411 \
      -e COLLECTOR_OTLP_ENABLED=true \
      -p 6831:6831/udp \
      -p 6832:6832/udp \
      -p 5778:5778 \
      -p 16686:16686 \
      -p 4317:4317 \
      -p 4318:4318 \
      -p 14250:14250 \
      -p 14268:14268 \
      -p 14269:14269 \
      -p 9411:9411 \
      jaegertracing/all-in-one:1.38
      ```
    
    • Run HelloWorld
      • Use javaagent: -javaagent:/xx/opentelemetry-javaagent.jar
      • Use env variables: OTEL_SERVICE_NAME=example-app;OTEL_TRACES_EXPORTER=jaeger;OTEL_EXPORTER_JAEGER_ENDPOINT=http://localhost:14250;OTEL_METRICS_EXPORTER=none
    • Make request to /hello curl localhost:8080/hello
    • See trace in jaeger http://localhost:16686/search?service=example-app

Note! Identical results with two different Jaeger tracers one from zio-telemetry and one from https://kadek-marek.medium.com/trace-your-microservices-with-zio-telemetry-5f88d69cb26b

zio-telemetry-poc2's People

Contributors

jeejeeone avatar

Watchers

 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.