Dispatcher configuration

By default all dispatchers will present the basic metrics that are built into the standard Java and Scala ExecutorService implementations. To get more detailed metrics or tune which dispatchers that show the basic metrics, you need to change your ActorSystem configuration. The default configuration is in application.conf.

Dispatcher selection

Dispatcher selection is based on the name of the created dispatcher, and the selection can include a trailing wildcard. There are two keys that are configured independently, basic-information for the metrics built into the standard ExecutorService implementations, and time-information for more detailed time information on the task queues and processing.

This is the default configuration:

cinnamon.akka.dispatchers {
    basic-information {
      names = ["*"]
    }
    time-information {
      names = []
    }
}

An example configuration where we want basic-information for all dispatchers, and time-information for the dispatcher named foo and all dispatchers starting with ba would look like this:

cinnamon.akka.dispatchers {
    basic-information {
      names = ["*"]
    }
    time-information {
      names = ["foo", "ba*"]
    }
}