These are chat archives for akkadotnet/akka.net

22nd
Aug 2018
Lutando Ngqakaza
@Lutando
Aug 22 2018 11:33 UTC
is there a way to override the default supervision strategy in the hocon config for all user/* level actors?
Lutando Ngqakaza
@Lutando
Aug 22 2018 12:00 UTC

do I change

"akka.actor.guardian-supervisor-strategy"
because
https://github.com/akkadotnet/akka.net/blob/aa01127f05818005d1f0236427abe7129bb721ac/src/core/Akka/Actor/Settings.cs#L73

my usecase: want to dump all events that happen into some telemetry store that we use

Bartosz Sypytkowski
@Horusiath
Aug 22 2018 12:23 UTC
@Lutando what does supervisor strategy have to do with events monitoring?
Lutando Ngqakaza
@Lutando
Aug 22 2018 12:25 UTC
i wanna dump the exception sorry
Bartosz Sypytkowski
@Horusiath
Aug 22 2018 12:25 UTC
if you need, you can publish messages to ActorSystem EventStream and make a subscription there - many of akka.net events already are flying through it
Lutando Ngqakaza
@Lutando
Aug 22 2018 12:26 UTC
or then this is the question is it better to explicitly send these exceptions to telemetry in another way?
Bartosz Sypytkowski
@Horusiath
Aug 22 2018 12:27 UTC
when actor dies you already get an Error log event
log events also fly through eventstream
Lutando Ngqakaza
@Lutando
Aug 22 2018 12:34 UTC
ah got it
nathvi
@nathvi
Aug 22 2018 16:55 UTC
ello
edwinparker
@edwinparker
Aug 22 2018 18:23 UTC
I have an akka 1.3.8 application and I'm wondering if I can run Lighthouse using akka 1.3.7 or should I upgrade lighthouse to akka 1.3.8? I know there were some changes with dotnetty from 1.3.7->1.3.8. Trying to determine if I should manage lighthouse or just use what is on github
Aaron Stannard
@Aaronontheweb
Aug 22 2018 21:22 UTC
I'd upgrade
in fact I'll probably PR lighthouse
but I just queued up Akka.NET v1.3.9 for release :p
@vasily-kirichenko sorry I missed this!
at the moment, nothing will happen - it should be safe to deploy into a cluster. We're relying on the honor system for Phobos precisely because it'd be a tough (and in many cases, impossible) pill to swallow for users to deploy us into production systems knowing that that a licensing system could self-destruct everything.
thus, we don't have any code for enforcing that licensing
Aaron Stannard
@Aaronontheweb
Aug 22 2018 21:29 UTC
and for users who want to know what @vasily-kirichenko is talking about, Petabridge released an enterprise DevOps suite for Akka.NET on Monday called "Phobos": https://phobos.petabridge.com/
basically allows for turnkey actor request tracing, monitoring, and does all of that in about 5 lines of configuration and some NuGet packages
designed to work with lots of tracing and monitoring providers
i.e. all of our demos at the moment use Zipkin for tracing and StatsD for monitoring
going to be adding support for stuff like Azure App Insights, Jaeger, AppDynamics, etc...
all of that stuff works over the network too
recommend watching the video on the homepage or reading through the documentation to learn more about it
Aaron Stannard
@Aaronontheweb
Aug 22 2018 21:45 UTC
Also while I'm here, Akka.NET v1.3.9 release notes: akkadotnet/akka.net#3574
anthonyhawes
@anthonyhawes
Aug 22 2018 23:11 UTC
More curious problems with persistence (PostgreSQL). This time with replaying events using persistence query. Examining the event_journal table shows all the events in sequence, but persistence query misses some of them in the stream. Any clues as to where I should look gratefully received
Aaron Stannard
@Aaronontheweb
Aug 22 2018 23:12 UTC
https://github.com/AkkaNetContrib/Akka.Persistence.PostgreSql - might be an issue with the way the Akka.Streams queries were implemented
anthonyhawes
@anthonyhawes
Aug 22 2018 23:13 UTC
Okay, will dig a bit deeper
Aaron Stannard
@Aaronontheweb
Aug 22 2018 23:57 UTC
but yeah, ideally we should not be missing any sort of events there
but it varies by plugin implementation IIRC