2

I have a small project with Akka, and I use Kamon to monitor the actors. By default, monitoring is always enabled. But, is it possible to disable kamon?

Sergio Rodríguez Calvo
  • 1,183
  • 2
  • 16
  • 32

1 Answers1

2

You can disable kamon by not including kamon.conf to application.conf (e.g. you have two separate config files, first only for kamon, second for whole app, in this case just comment line include kamon in application.conf). Another approach is using separate config files for testing and development: application.test.conf and application.conf, of course they must have specific configuration (it's up to you). For flexible leveraging of second approach, i recommend to use ConfigFactory class config assemble place (it makes life easier). Or if you just want to disable bothersome messages, you can use disable-aspectj-weaver-missing-error = false this flag in conf.

pacman
  • 797
  • 10
  • 28