I went and tried to set up a NRQL alert with this query:
SELECT count(*) FROM ErrorTrace WHERE appName = 'DAM Api' and request.uri LIKE '/dam/imageserve/%' AND message LIKE 'image file is truncated%'
It looks great. I hit “Save condition.” I get this:
We couldn’t save this condition
An unexpected error occurred: PROHIBITED_EVENT_TYPES: Invalid event type(s): [errortrace]
So…is using ErrorTrace just right out in NRQL alerts? It seems like then the UI should be throwing an error earlier then, like it does if you try and use
TIMESERIES. Or is there some other issue with my query/alert? (I was able to get the same data out of TransactionError, but still.)