Skip to content
This repository has been archived by the owner on Jan 19, 2022. It is now read-only.

cloudfoundry-incubator/thoth

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

36 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Thoth

thoth

An App responsible for measuring and controlling time

Setup

Push Benchmarked App

The benchmarked app consists of an empty index.html plus an nginx config and is pushed using the following:

(cd benchmarked-app ; cf push)

Push Thoth

cf push thoth --no-route --no-start
cf set-env thoth CF_APP_NAME <benchmarked-app-name>
cf set-env thoth CF_DEPLOYMENT_NAME <your-deployment-name>
cf set-env thoth CF_ORG <your-org-name>
cf set-env thoth CF_PASSWORD <your-password>
cf set-env thoth CF_SKIP_SSL_VALIDATION <true/false>
cf set-env thoth CF_SPACE <your-space>
cf set-env thoth CF_SYSTEM_DOMAIN <cf-system-domain>
cf set-env thoth CF_USERNAME <your-username>
cf set-env thoth DATADOG_API_KEY <your-datadog-api-key>

# optionally set the number of concurrent benchmarks
cf set-env thoth THOTH_THREADS 5

cf start thoth

For Diego, you will need to set the health check to none, like so: cf set-health-check APPLICATION_NAME none.

Metrics (from the bottom up)

metrics

  • Time in App (app_benchmarking.time_in_app)
  • Time in Gorouter (app_benchmarking.time_in_gorouter)
  • Rest of Time (app_benchmarking.rest_of_time)

About

An App responsible for measuring and controlling time

Resources

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published