Aggregate multiple continuous queries?


We use influx to record status codes returned segmented by http endpoint.
For instance, we have a measurement “kamon_counter_response_status”. The only field is the status code. The tags include method (GET, POST) and route pattern (aka, “”/foobar").

I would like to downsample status codes returned by < 20 of our most important routes into a single new measurement. What is the recommended way to do this? i tried writing a continuous query for each route, that wrote INTO the same measurement, but that didn’t seem to work.