Open mfateev opened 4 years ago
@mfateev any idea of the difficulty/priority of this feature?
Also, is this possible to achieve today with elasticsearch/search attributes enabled? Looking at docs, I don't see that it is.
How do you want to get this data/run this query? Is issuing a direct query to Elasticsearch an option? It definitely not supported with Temporal list APIs (both tctl
and SDKs) but most likely supported with Elasticsearch aggregations.
Ideally, this query can be run directly from the UI/tctl.
As for issuing queries directly against Elasticsearch- that would be a big compromise for us. We want to use this query for manual operations, so its important to have some kind of user interface here. We'd like to avoid building some new CLI for this purpose or having to spin up something like Kibana. Especially since Elasticsearch - IIUC - is an internal component of the Temporal service, and it might require us depending on undocumented, unstable interfaces.
Looks like we need additional index on current run.
From Slack: