Hi,
I’m trying to setup the uptime dashboard. I checked the documentation added the following section into the tyk configuration file:
“uptime_tests”: {
“disable”: false,
“config”: {
“enable_uptime_analytics”: true,
“failure_trigger_sample_size”: 3,
“time_wait”: 30,
“checker_pool_size”: 50
}
}
I’ve setup the service discovery feature of the uptime test part of my API. The gateway logs show (IMO) that the returned JSON is correct:
time=“Mar 29 15:45:48” level=debug msg=“Checker host list”
time=“Mar 29 15:45:48” level=info msg=“Loading uptime tests…”
time=“Mar 29 15:45:48” level=debug msg=“Getting http://10.100.2.241:9876/health-endpoints?name=jetscan-screening&status=UP”
time=“Mar 29 15:45:48” level=debug msg=“Parsing raw data: {\n "endpoints" : "[{\"url\":\"http://10.100.2.115:8770/health\\\“}]\”\n}”
time=“Mar 29 15:45:48” level=debug msg=“Got:{"endpoints":"[{\"url\":\"http://10.100.2.115:8770/health\\\“}]\”}”
time=“Mar 29 15:45:48” level=debug msg=“Namespace: endpoints”
time=“Mar 29 15:45:48” level=info msg=“—> Adding uptime test: http://10.100.2.115:8770/health”
time=“Mar 29 15:45:48” level=info msg=“—> Adding uptime test: http://10.100.2.115:8770/health”
time=“Mar 29 15:45:48” level=debug msg=“— Setting tracking list up”
time=“Mar 29 15:45:48” level=debug msg=“Reset initiated”
time=“Mar 29 15:45:48” level=debug msg=“[HOST CHECKER] Checker reset queued!”
time=“Mar 29 15:45:48” level=debug msg=“Checker host Done”
However, I never see any activity in the “Service Uptime Dashboard”, although I’ve enabled the analytics.
Did I miss something ?
Thanks for you help!