Cookie Notice

Persistent Entity configuration

Lagom persistent entities need to be selected for telemetry.

Note

Lagom persistent entities are not instrumented automatically. They must have instrumentation explicitly enabled - see sections below for how to.

It can be done for each type of persistent entity separately with a custom name that will be used for reporting:

cinnamon.akka {
  persistence.entities {
    "foo-entity" {
      includes = "/system/sharding/EntityFooName/*"
      report-by = group
    }
  }
}

It’s also possible to configure all the persistence entities with only one entity selection:

cinnamon.akka {
  persistence.entities {
    "/system/sharding/?/*" {
      report-by = group
    }
  }
}

Additional command and event type dimensions can be enabled via the opt-in command/event type dimensions.