Giter VIP home page Giter VIP logo

Comments (4)

giuliohome avatar giuliohome commented on June 3, 2024

I don't know how to fix jaeger demo however, where the --otel-* flags are required and there is no elastic apm.

I see the error messages

Transient error StatusCode.UNAVAILABLE encountered while exporting span batch

Ops... I see the docker container is stopped and the log says

2022-07-17T21:19:46.278Z        info    builder/exporters_builder.go:40 Exporter is starting... {"kind": "exporter", "name": "file"}
Error: cannot start exporters: open /tmp/tests.json: no such file or directory
2022/07/17 21:19:46 collector server run finished with error: cannot start exporters: open /tmp/tests.json: no such file or directory

from apm-pipeline-library.

giuliohome avatar giuliohome commented on June 3, 2024

Another fix for the above issue?

giuliohome@DESKTOP-5Q65LFI:~/elastic/apm-pipeline-library/resources/scripts/pytest_otel$ git diff
diff --git a/resources/scripts/pytest_otel/docs/demos/jaeger/docker-compose.yml b/resources/scripts/pytest_otel/docs/demos/jaeger/docker-compose.yml
index 2e6b537c..87ba6033 100644
--- a/resources/scripts/pytest_otel/docs/demos/jaeger/docker-compose.yml
+++ b/resources/scripts/pytest_otel/docs/demos/jaeger/docker-compose.yml
@@ -21,6 +21,7 @@ services:
       test: curl --write-out 'HTTP %{http_code}' --fail --silent --output /dev/null http://localhost:13133/
     volumes:
       - ./config/otel-collector-config.yaml:/etc/otel-collector-config.yaml
+      - ./build/tests.json:/tmp/tests.json
     ports:
       - "1888:1888"   # pprof extension
       - "13133:13133" # health_check extension

Or otherwise, without the above, I see I could run the collector through a specific run-otel-collector make target, but in either cases I'm still unable to see the traces produced by pytest on the jaeger web page

from apm-pipeline-library.

giuliohome avatar giuliohome commented on June 3, 2024

Let me check if the PR merged yesterday could maybe solve this issue.

from apm-pipeline-library.

giuliohome avatar giuliohome commented on June 3, 2024

Yeah cool

immagine

P.S. working also on Fedora VM, ref to grafana/tempo#1590

Next step

Now I shoud be able to export the traces to Grafana Tempo through an otpl agent exporter...

from apm-pipeline-library.

Related Issues (20)

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.