- Collects metrics from applications using Ebean ORM that send it their metrics.
- Performs a rollup of metrics on 1 min, 10 min, 1 hour basis.
- Supports ability to request Query plans and collect query plans
- For Postgres query plans, uses pev2 to view query plan details
- Support reporting aggregated metrics onto Graphite, StatsD, etc
- Provide automation for automatically collecting query plans for:
- new queries,
- queries that exceed a threshold (anomalies)
Requires GraalVM installed
sdk install java 24-graal
sdk use java 24-graal
Build on a Mac (no G1GC supported)
mvn clean package -P native,mac -DskipTests
Build on a Linux (with G1GC)
mvn clean package -P native,linux -DskipTests
- Requires docker to be installed locally
- Run the main method on src/test/java/main/StartPostgresDocker
Run the native application. We pass it an external configuration file via -Dprops.file=
.
./target/ebean-insight -Dprops.file=application.yaml