So the backend of Docket was actually already built with this in mind, but we never fully implemented it in the frontend (sorry, open source project, we work on it when we can). For instance, the
/stats API endpoint supports a comma delimited list of sensor names and is filtered out here. It wouldn’t be too hard to add that in to the query task here and then propagate it forward.
When we implemented it, I wasn’t sure how we could really represent that cleanly in the API, but it strikes me now, we could implement it similar to how Elasticsearch allows you to select an index pattern with the Query API. Check if the first value is a comma delimited list and could even do safe wildcard matching using the
fnmatch Python library.
Unfortunately, I don’t have the cycles to implement that right now, but I could help steer someone that wanted to get that piece working with the existing HTTPS backend. gRPC connections to Stenographer doesn’t inherently enable this functionality that you’re looking for, though I’m not opposed to that either.