Giter Club home page Giter Club logo

Comments (4)

PROFeNoM avatar PROFeNoM commented on May 27, 2024

Hi @B-Galati,

This is indeed the behavior of Laravel Horizon's supervisors. Each second, they perform a monitor loop which eventually generate redis spans while checking for pending commands.

I agree that this creates a tremendous amount of logs. We should eventually do something about this to change the granularity of the debug logs.

Although it wouldn't fix your issue, what you can do for now is enable DD_TRACE_REMOVE_AUTOINSTRUMENTATION_ORPHANS not to have these spans flushed.

from dd-trace-php.

B-Galati avatar B-Galati commented on May 27, 2024

@PROFeNoM thank you but Iย don't understand. I am using Symfony, not Laravel and in my case, there are no integrations enabled that relate to these Frameworks.

from dd-trace-php.

PROFeNoM avatar PROFeNoM commented on May 27, 2024

All my apologies, I read too quickly and overlooked the fact that you weren't using Laravel Horizon, but symfony messenger.

I'm not familiar with Symfony Messenger, but looking at their source code it looks pretty similar. It indeed seems like the consumer waits 1s before checking for new messages, as you observed.

Assuming you are using a redis receiver, I would then indeed believe that the current behavior is expected.

from dd-trace-php.

B-Galati avatar B-Galati commented on May 27, 2024

We are using RabbitMQ but that's not impossible it's calling Redis for some reasons.

It may be because the container is restarted between each messages but I need to dig further.

Not a bug with Datadog in any case!

Thanks!

from dd-trace-php.

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.