Hi All,
I’m trying to create a chart with the process group instance cpu, but only to processes from a certain kuberenetes namespace.
Searching for the list of process groups with the following DQL shows the correct list:
fetch dt.entity.process_group_instance
|fieldsAdd tags
|filter(matchesValue(tags,“[Kubernetes]namespace:easytrade”))
However, when using this in combination of teh metrics command and lookup as follows I get no data:
timeseries avg(dt.process.cpu), by:{dt.entity.process_group_instance}
| lookup [fetch dt.entity.process_group_instance
| fieldsAdd tags
],
sourceField:dt.entity.process_group_instance, lookupField:id
| filter matchesValue(lookup.tags,“[Kubernetes]namespace:easytrade”)
What am I doing wrong here?
Gil.