Giter Club home page Giter Club logo

Comments (5)

gbbr avatar gbbr commented on June 8, 2024

This happens when the payload sent by the tracer is larger than the maximum size allowed by the agent (currently 10M). Normally tracers should not do this, so I'd guess this is most likely a tracer problem. Which language are you using?

from datadog-trace-agent.

ludwikbukowski avatar ludwikbukowski commented on June 8, 2024

Elixir

from datadog-trace-agent.

gbbr avatar gbbr commented on June 8, 2024

from datadog-trace-agent.

ludwikbukowski avatar ludwikbukowski commented on June 8, 2024

right, this library:
https://github.com/spandex-project/spandex
Its quite good anyway.
Ok, I will check the payload sent.
It started happen when there is ~1.5k spans within one trace

from datadog-trace-agent.

gbbr avatar gbbr commented on June 8, 2024

Thanks. I will close the issue in that case, since there is nothing to do here. But feel free to post here if you have more questions about how to do this.

What we do in some of our tracers is that we start flushing once the payload size goes above 5MB. If you don't have the size handy you can simply use a different size heuristic. For example, OpenCensus does this to get an estimate of a size. You could do something similar if getting an approximation of the msgpack load is not possible with whatever library exists in Elixir.

from datadog-trace-agent.

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.