05 Jul 2023 10:38 PM
timeseries series=avg(cloud.aws.lambda.concurrentExecutionsByAccountIdFunctionNameRegion),by:{aws.region,functionname,aws.account.id} | filter aws.account.id == "385888483640" | filter functionname == "eca-permission-translation-service-v2-prod-main" or functionname == "eca-permission-translation-service-v2-prod-userProfile"
Solved! Go to Solution.
05 Jul 2023 10:47 PM - edited 05 Jul 2023 10:47 PM
Hi @TylerBrush
There are different ways of achieving this, but I guess the easiest would be this
timeseries series=avg(cloud.aws.lambda.concurrentExecutionsByAccountIdFunctionNameRegion),filter:{
aws.account.id == "385888483640" and (functionname == "eca-permission-translation-service-v2-prod-main" or functionname == "eca-permission-translation-service-v2-prod-userProfile")
}
Best,
Sini
05 Jul 2023 10:59 PM
Hi Sinisa,
This query groups the two functions together under one label "series"
My assumption is that you can't change this without changing the 'by:{...}' values?
06 Jul 2023 07:30 AM
I have forgotten to add the function name in the group by, so just add it there and let me know if this is what you are looking for.
06 Jul 2023 02:20 PM
This works great, thank you!