Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Akka typed actor tag and auto-grouping changes #898

Merged
merged 4 commits into from
Nov 24, 2020

Conversation

SimunKaracic
Copy link
Contributor

This PR makes changes based on the fact that typed actors get converted to ActorAdapter class, rendering some tags and existing behaviour pointless.

Changes

  • akka.actor.class tag is not used when the actor is typed, because all typed actor would have the same tag (ActorAdapter)
  • operation name now only contains the message class, instead of both the message and actor class
  • auto-grouping is disabled when the actor is typed, because all typed actors on the same level would be in the same group. Typed actors can still be targeted by group filters

Actor class name tag is removed when the actor is typed.
Operation name is now only 'operation(MessageClass)', where before it was
'operation(ActorClass, MessageClass)'
This must be done becase we can no longer obtain the actor class name consistently,
since typed actors are converted to ActorAdapters.
If we don't disable autogrouping, all typed actors on the same level
are placed in the same group
@SimunKaracic SimunKaracic merged commit bcfc41e into kamon-io:master Nov 24, 2020
@SimunKaracic SimunKaracic deleted the akka-typed-instrumentation branch November 24, 2020 11:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants