@Marius A , Looking at the below documentation, services hosted in AKS have the capability of sending data to prometheus and then it can be displayed in Grafana
So you can host the http triggered function in AKS and then achieve your goal
https://learn.microsoft.com/en-us/azure/azure-functions/functions-kubernetes-keda