Using Subtrace with Flightcontrol
If you deploy your app using Flightcontrol, you can use Subtrace to monitor all its requests. Here’s how you can get started:
- Add these lines to your
flightcontrol.jsonfile under thetargetsection:
"target": {
"type": "fargate",
"linuxCapabilities": {
"add": ["SYS_PTRACE"]
}
}
- Add the
SUBTRACE_TOKENenvironment variable to Flightcontrol:
If you don’t have a Subtrace token yet, go to the Tokens page on the dashboard and create a tracer token.
- Deploy your app as you normally do on Flightcontrol.
That’s it! You can now visit your app and make some requests to see them automatically appear in the Subtrace dashboard.