What is the teams advise on using Heartbeats and Metrics when running in an Azure Functions, assuming function are not running continually.
I have a NServicebus Azure Function that’s being triggered every 15min. It also has Heartbeat and Metrics enabled and it seems to be up continuously (which is logic if youre sending an heartbeat every 20sec). But this conflicts with the benefit of not running your function all the time.
Should I disable Heartbeat? I’m ok with that, but I still would like to recieive Metrics when it’s running. Is there a best practice configurating this, so that my function is not running constant?