Skip to content

Latest commit

 

History

History
33 lines (23 loc) · 1.1 KB

File metadata and controls

33 lines (23 loc) · 1.1 KB

Maven Central : ebean License

ebean-insight

Client that collects Ebean ORM metrics and sends them to the ebean insight service.

This is currently running as a closed BETA programme.

Usage

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.

Guides

  • AWS Lambda — running on Lambda (and similar freeze/thaw runtimes) with lambdaMode(true).