04 Jun 2024
10:23 PM
- last edited on
02 Oct 2024
01:21 PM
by
MaciejNeumann
It's great that so many metrics are now in Grail, but there are still some classic metric keys that I don't see equivalent Grail metric keys for in the docs. I don't see the builtin:tech.generic.count classic key mentioned in the unsupported section or anything.
I'd like to be able to get a count of the number of process instances for a process group (well, ideally I'd like to have a query that returns a table of process groups with a count of instances for each one.
Solved! Go to Solution.
21 Nov 2024 11:53 AM
Hello @36Krazyfists,
I've got information from our Developer team that Grail equivalent to builtin:tech.generic.count metric isn't publicly available yet. If this changes, I'll let you know.
21 Nov 2024 11:56 AM
Cool, thanks for the reply. Do you know if there is a way to achieve what I'm looking for with a DQL query?
18 Nov 2025 01:45 PM
Sorry for the very, very late reply, but I just got a message from our developers.
The metric is still not available in 3rd gen. The way it can be achieved is by counting entities themselves, for example:
fetch dt.entity.process_group
| filter id == "PROCESS_GROUP-476D77531A1A1CBB"
| fieldsAdd arraySize(instantiates[dt.entity.process_group_instance])
It will display only the current value though (so a count of the number of PGI's over time is not possible at the moment).