Git Product home page Git Product logo

Comments (3)

CeeBeeCee avatar CeeBeeCee commented on July 4, 2024

I'm running Python 3.8 by the way

from aws-otel-lambda.

mat-rumian avatar mat-rumian commented on July 4, 2024

@CeeBeeCee I've faced this issue too. The problem is present because aws_observability dependencies are set to latest. Problem occurs because OpenTelemetry Python community released new version where AwsXRayIdsGenerator was changed to AwsXRayIdGenerator. If you fix that you are going to face much more issues related to name changes in the OT Python main stream.

from aws-otel-lambda.

CeeBeeCee avatar CeeBeeCee commented on July 4, 2024

@mat-rumian : Ah, I see that now. Thanks! I'll wait for the AWS folks to refactor their sample code and their instrumentation script.

class AwsXRayIdGenerator(IdGenerator):
"""Generates tracing IDs compatible with the AWS X-Ray tracing service. In
the X-Ray system, the first 32 bits of the TraceId are the Unix epoch time
in seconds. Since spans (AWS calls them segments) with an embedded timestamp
more than 30 days ago are rejected, a purely random TraceId risks being
rejected by the service.

from aws-otel-lambda.

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.