ex_gecko v0.1.0 ExGecko.Adapter.Runscope

Interacts with runscope API. This doesn’t handle authentication described here https://www.runscope.com/docs/api/authentication. This will assume you have an access_token available to use. The main thing this will do is call the tests results API to get the latest test results, the api is described here https://www.runscope.com/docs/api/results

The heroku adapter accepts following arguments:

  • test_id : The id of the test that will be updated in the Geckoboard dataset
  • bucket_id : the ID of the test bucket

Note, we need both the name and the test ID because the Runscope API does not return the name of the test in its response. Therefore we have to rely on the user to input the name

Summary

Functions

add_param(param_string, opts, param)
auth_header()
avg_step_response(list, map, test_run)
build_url(path, opts)
calc_success_ratio(opts)
convert_to_ago(result)
do_get(url, opts)
find_last_down(last, opts)
find_response_time(test_run)
get_datetime(unix_time)
get_test_name(opts)
last_result(opts)
load_events(opts)
parse_args(opts)
step_response_time(uuid, opts)
test_detail(opts)
test_results(opts)
uptime(args)
url()