Alerts for invocations and traces are slightly different compared to other alert policies. As with the other policies, you can write a detailed query and save it as an alert. While saving an alert for any invocation or trace, select a target. For invocations, this allows you to target not only the function you are working on, but also the other functions in the account or a specific project. Your target type selections allow you to check the condition of a single function, all functions in a specific project, or all functions in Thundra. For trace alerts, selecting a target allows you to set alerts for all the traces that occurred in your application or for unique traces that you selected.