Git Product home page Git Product logo

Comments (3)

ivantopo avatar ivantopo commented on August 22, 2024

Hello Jake,

There is no Kamon or Grafana problem in you example as far as I see it, but maybe a misunderstanding on how your actors should behave. When you send the 5000 thousand messages to Ponger on Pinger's preStart, all of those TraceContexts start pretty much at the same time. At this point, you have 5000 messages waiting on Ponger's mailbox to be processed, then your Ponger actor will take the first of those messages, wait (let's say, around 300ms) and respond to Pinger which will finish the context and measure the elapsed time. Since actors process only one message at a time and you still have 4999 messages in the mailbox, by the time the Ponger actor takes the second message it has already been there for ~300ms + ~300ms for it's own sleep, gives you ~600ms elapsed time for the second trace, and that will continue to grow with each message. That's why you see that line only going up, because the elapsed times of traces are actually going up.

Let us know if you need any more help, regards!

from docker-grafana-graphite.

JakeGreene avatar JakeGreene commented on August 22, 2024

Well, don't I look like a fool. Thanks for the help, I'll spend some time with a rubber ducky next time I have an issue.

from docker-grafana-graphite.

ivantopo avatar ivantopo commented on August 22, 2024

Don't worry Jake, feel free to ask if you need any help in the future and thanks for using Kamon!

from docker-grafana-graphite.

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.