0

I plan to use Timer functions to monitor my deployed environments. I have 5 environments for now and was planning to create 5 different functions in the same function app. I need to specify the URLs for each monitor to see which environment to monitor. How can I do that per function specific.

Or if there is any other approach to solve this problem?

user3100148
  • 55
  • 1
  • 7

2 Answers2

0

You can accomplish this with the proxy feature. Look at the docs for Working with Azure Functions Proxies

Shayne Boyer
  • 410
  • 3
  • 9
  • How do I make them time trigger? I need a continuous monitoring – user3100148 Feb 20 '19 at 01:12
  • The function itself must be a timer function. But if you are looking for monitoring, you should look at Azure Monitor and/or Azure Application Insights. These services are better served for your purpose. – Shayne Boyer Feb 20 '19 at 13:12
0

Create a single timer function and maintain a url list in Azure Table Storage (key,value). Read the urls from table storage and aggregate all the results in your function.

Imran Arshad
  • 3,794
  • 2
  • 22
  • 27