asynkron / akka.opentelemetry Goto Github PK
View Code? Open in Web Editor NEWLicense: Apache License 2.0
License: Apache License 2.0
Old thread from Akka.NET on this topic:
akkadotnet/akka.net#2027
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
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
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.