Dockerfile
to install Subtrace
in your app’s Docker image:
deployment.yaml
for reference:
Make sure the container has the
SUBTRACE_TOKEN
environment variable in your
deployment YAML. Typically, this is done with a Kubernetes secret, but if your
app uses an external secret manager, consult its documentation. If you don’t
have a Subtrace token yet, go to the Tokens page on the
dashboard and create a tracer token.Don’t forget to set the
securityContext
field in the container spec. Subtrace
needs the SYS_PTRACE
capability in order to trace your app’s requests.