Client that collects Ebean ORM metrics and sends them to the ebean insight service.
This is currently running as a closed BETA programme.
By default InsightClient acts as a forwarder: an upstream avaje-metrics poll
owns metric collection and feeds snapshots in, while this client forwards them on
and (with capturePlans(true)) captures Ebean query plans.
InsightClient.builder()
.appName("myapp")
.environment("prod")
.database(database)
.capturePlans(true)
.build()
.register();See the InsightClient javadoc for the forwarder / collector roles, the external
metric feed, and synchronous lambdaMode.
- AWS Lambda — running on Lambda (and similar freeze/thaw
runtimes) with
lambdaMode(true).