Giter VIP home page Giter VIP logo

akka.opentelemetry's People

Contributors

rogeralsing avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

seungyongshim

akka.opentelemetry's Issues

Mind notes - design issues

This library uses a custom ActorRefProvider to allow decorating actors with middleware.
This works but is problematic in a few ways:

In Proto.Actor, messages can have headers, just like in HTTP etc.
Akka.NET does not have this. therefore I'm using an envelope type for the payload.
This means that when sending a message, we either need to know up front if the target actorref belongs to a tracable actor.
so that we don't send envelopes to non-traced actors.

Or, we just make it so that all local actors are decorated with the tracing middleware, and get around this issue that way.

Another issue is likely Akka.Remote, e.g. if a remote node does not have tracing enabled, then sending envelopes to those would fail.

Therefore, I think the naive but pragmatic way would be to enforce that all nodes in the Akka.NET system/cluster all have this extension enabled.

If someone has any other ideas, shoot

Intercept responses to `Ask`

Ask<T> uses the FutureRef<T> which is sealed. making it hard to intercept Tell operations to it.
What is worse is that the methods on ActorRefProvider returns this concrete type directly with no option to wrap the ref.

I can intercept the completion of the task. but currently I don't quite know how I can set up the spans properly here

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.