Quantum is a dummy Phoenix app used to illustrate instrumentation with Telemetry.
- Clone down this repo
cd
into the repo and runmix deps.get
- Then, run
npm install --prefix ./assets
- Start the Phoenix server:
mix phx.server
To run with StatsD so that you can see your metrics processed, follow the StatsD installation instructions here.
Check out the blog series, Instrumenting Phoenix with Telemetry, here:
- Part I: Telemetry Under The Hood
- Part II: Handling Telemetry Events with
TelemetryMetrics
+TelemetryMetricsStatsd
- Part III: Observing Phoenix + Ecto Telemetry Events
- Part IV: Erlang VM Measurements with
telemetry_poller
,TelemetryMetrics
+TelemetryMetricsStatsd