we are using Sensu in a setup where all our metrics are stored in an InfluxDB2 and we query that influxdb to generate events. We run those queries through checks configured on a sensu agent.
A common use-case is that a single query can determine events for multiple proxy entities and running a query for every proxy entity would be wasteful. Unfortunately we could not figure out how to express this in sensu. A single check run can not generate multiple events for different entities or an event cannot belong to multiple proxy entities.
Is there another way to get this behavior?