Giter Club home page Giter Club logo

Comments (3)

awssandra avatar awssandra commented on August 29, 2024

Interesting!

So the X-Ray components only handle the X-Ray trace ID generator and propagation - all data is recorded in the OpenTelemetry format, sent to the Collector, where it's converted in the X-Ray exporter. The code for the exporter is hosted upstream, so it's over in the opentelemetry-collector-contrib repo.

https://github.com/open-telemetry/opentelemetry-collector-contrib/blob/master/exporter/awsxrayexporter/translator/http.go#L57

Seems like this should be working, but is not :) for whatever reason. Give us a min to take a look.

In the meantime, can you confirm your dependency versions for the OpenTelemetry and X-Ray components? There shouldn't be anything related, but a mismatch between the Collector and OpenTelemetry core packages in the various stages of the spec implementation might cause issues. So, just want to rule that out.

Thanks!
Sandra

from aws-otel-js.

niekname avatar niekname commented on August 29, 2024

These are the versions that I use at the moment:

"@aws/otel-aws-xray-id-generator": "0.13.1",
"@aws/otel-aws-xray-propagator": "0.13.0",
"@opentelemetry/core": "0.16.0",
"@opentelemetry/exporter-collector-grpc": "0.16.0",
"@opentelemetry/metrics": "0.16.0",
"@opentelemetry/node": "0.16.0",
"@opentelemetry/plugin-express": "0.13.1",
"@opentelemetry/plugin-http": "0.16.0",
"@opentelemetry/plugin-https": "0.16.0"

from aws-otel-js.

niekname avatar niekname commented on August 29, 2024

I just updated to opentel 0.18 and now the http status code is visible in xray.

these are the versions I use now:

"@aws/otel-aws-xray-id-generator": "0.13.1",
"@aws/otel-aws-xray-propagator": "0.13.0",
"@opentelemetry/core": "0.18.0",
"@opentelemetry/exporter-collector-grpc": "0.18.0",
"@opentelemetry/instrumentation": "0.18.0",
"@opentelemetry/metrics": "0.18.0",
"@opentelemetry/node": "0.18.0",
"@opentelemetry/plugin-express": "0.14.0",
"@opentelemetry/plugin-http": "0.18.0",
"@opentelemetry/plugin-https": "0.18.0"

from aws-otel-js.

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.