Skip to content

The only tool you need to know what is happening and how to fix it.

660 B
Raw Blame

insights-api

Product analytics for the insights dashboard: retention cohorts, funnels and saved dashboards over the events table. Spring Boot 3.5 on Java 21, PostgreSQL through JdbcTemplate. The OpenTelemetry Java agent ships traces, logs (one access-log line per request) and the JVM runtime metrics to Traceway (see Dockerfile).

./gradlew test
./gradlew bootRun

Routes:

  • GET /api/insights/retention?workspace=&from=&to=&interval=week – weekly retention cohorts
  • GET /api/insights/funnels?workspace=&funnel=&from= – funnel conversion per step
  • GET /api/insights/dashboards/{id}?workspace= – a saved dashboard with its cards