Hi, at my company we have an internal tool that allows us to trigger incidents in pager duty by sending an event.
One important requirement for us is to be able to identify which incidents were triggered by that tool. So far, we do this by adding some custom fields in the payload when creating the event. However, that forces us to list all open incidents and then retrieve the log entries for each one and then select those that have this metadata. As the size of the organization grows, this is slowing down this tool.
I have considered using the client field to identify the incidents created by the tool. However, even if I set it in the event that triggers the incident, later this information is not percent in the incident.