Script to poll metrics from the eagleeye api