I'm trying to extract rule execution statistics from Log-RuleUsage and Log-RuleUsage-Details snapshot instances. This is documented at https://docs.pega.com/system-administration/86/rule-usage-snapshots but results I'm seeing only seem to include stream related rules such as Flow Actions or HTML rules and not the advertised "any rule that is converted to Java at assembly time". Actually the exact opposite seems to be true in reality.
The documentation examples seem to suggest that all Java generated rules should captured:
The initial analysis based on your description is that the underlying reason for this inconsistency may be that the VTable assembly cache was never enhanced to emit RuleUsage data. So any rules executed via VTable (basically anything not a stream rule, among a few other exceptions) do not get recorded, just as you have observed.
In order that we can align the documentation we are checking if there are any plans in the pipeline to address the gap in VTable.
To help us find ways to solve your problem, would you be able to give us more insight into your use case and what you are trying to do with the usage info?