MQL question for time series

45 views
Skip to first unread message

Ross G

unread,
Sep 21, 2022, 2:32:54 PM9/21/22
to Google Stackdriver Discussion Forum
Hi, is anyone able to assist with this MQL?

I am able to run this query using the UI - It is Kubernetes Pod -> Pod -> Bytes Received grouped by Service Name
Screen Shot 2022-09-21 at 10.10.16 am.png
That works

However I am not able to get the equivalent MQK

Trying this
fetch k8s_pod
| group_by [metadata.system.service_name]
| align rate(1m)
| every 1m

Line 3: Expression for time series identifier column 'metadata.system.service_name' had type 'Set(String)' which is not a valid time series identifier column type.


Reply all
Reply to author
Forward
0 new messages