Workers - cronjob - scheduled event: possible to get colo information of scheduled event?
Hi, i would like to periodically request some data from an endpoint/server as a more nouanced health-check.
Request duration is of importance, however the response time varies quite a bit (i suspect because the cron is run in different datacenters)
Now i would like to know if it is possible to get the current location/datacenter, so that i see if it is my api that has a slow response time, or simply the request being made from far away.
I also thought about calling another worker from the cron worker, which does multiple requests to the api, and enable smart placement so that it gets positioned near my api. (there i should get the colo information, as it is not a cron trigger?)
Is there anything you think that is for/against doing this?
Request duration is of importance, however the response time varies quite a bit (i suspect because the cron is run in different datacenters)
Now i would like to know if it is possible to get the current location/datacenter, so that i see if it is my api that has a slow response time, or simply the request being made from far away.
I also thought about calling another worker from the cron worker, which does multiple requests to the api, and enable smart placement so that it gets positioned near my api. (there i should get the colo information, as it is not a cron trigger?)
Is there anything you think that is for/against doing this?
