This repository contains a sample Erlang applications that can be profiled using Parca.
The critical parts are:
ERL_FLAGS="+JPperf map"
, so that Erlang JIT produces symbol map files; it can be specified in theDockerfile
or deployment manifest (in this example, we do both, which is redundant)- Debug symbol packages (see Docker file)
kubectl apply -f manifests/deployment.yaml