This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<Plugin curl_json> | |
<URL "http://127.0.0.1:<%= es_port -%>/_cluster/nodes/_local/stats?http=true&process=true&jvm=true&transport=true"> | |
Instance "elasticsearch" | |
<% | |
stats = { | |
"counter" => [ | |
"indices.cache.field_evictions", | |
"indices.cache.filter_count", | |
"indices.cache.filter_evictions", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Starting router on port: 3169, api_port: 3168 | |
Rate: 1000 rps | |
2013/11/01 11:05:18 Vegeta is attacking 2 targets in random order for 1m0s... | |
2013/11/01 11:06:18 Done! | |
2013/11/01 11:06:18 Writing results to 'stdout'... | |
Rate: 1000 rps | |
2013/11/01 11:06:18 Vegeta is attacking 2 targets in random order for 1m0s... | |
2013/11/01 11:07:19 Done! |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
➜ router git:(master) ✗ ulimit -n | |
256 | |
rate 2800 rps latencies | |
{"latencies"=> | |
{"mean"=>933760, "95th"=>5358752, "99th"=>60440999, "max"=>60440999}, | |
"bytes_in"=>{"total"=>280000, "mean"=>10}, | |
"bytes_out"=>{"total"=>0, "mean"=>0}, | |
"duration"=>10571394282, | |
"requests"=>28000, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
➜ ~ go run test_fastly_api_auth.go -user ${FASTLY_USER} -pass ${FASTLY_PASS} | |
200 OK | |
Took 469.833754ms | |
➜ ~ go run test_fastly_api_auth.go -user ${FASTLY_USER} -pass ${FASTLY_PASS} | |
200 OK | |
Took 995.766412ms | |
➜ ~ go run test_fastly_api_auth.go -user ${FASTLY_USER} -pass ${FASTLY_PASS} | |
200 OK | |
Took 835.970521ms |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require 'stringio' | |
require 'puppet/util/log' | |
# FIXME: Remove when we don't provision/bootstrap with Puppet < 3.4 | |
if Puppet::PUPPETVERSION.to_f < 3.4 | |
Puppet::Util::Log.create({ | |
:level => :warning, | |
:source => __FILE__, | |
:message => "Monkey-patching FileSystem::File and Puppet::FileBucket::File for upgrade to Puppet >= 3.4", | |
}) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
➜ pp-puppet git:(master) cat .bundle/config | |
--- | |
BUNDLE_DISABLE_SHARED_GEMS: '1' | |
➜ pp-puppet git:(master) vagrant provision jumpbox-1 | |
… | |
➜ pp-puppet git:(master) cat .bundle/config | |
--- | |
BUNDLE_DISABLE_SHARED_GEMS: '1' | |
BUNDLE_FROZEN: '1' | |
BUNDLE_PATH: vendor/bundle |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
server { | |
server_name grafana.*; | |
root /usr/share/grafana; | |
access_log /var/log/nginx/grafana-access.log timed_combined; | |
access_log /var/log/nginx/grafana-json.event.access.log json_event; | |
error_log /var/log/nginx/grafana-error.log; | |
location =/config.js { | |
alias /etc/grafana/config.js; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/spec/vcloud/launcher/vm_orchestrator_spec.rb b/spec/vcloud/launcher/vm_orchestrator_spec.rb | |
index 496a2c0..48c3e32 100644 | |
--- a/spec/vcloud/launcher/vm_orchestrator_spec.rb | |
+++ b/spec/vcloud/launcher/vm_orchestrator_spec.rb | |
@@ -6,6 +6,16 @@ describe Vcloud::Launcher::VmOrchestrator do | |
@vm_id = "vm-12345678-1234-1234-1234-123456712312" | |
end | |
+ let(:fog_vm) { | |
+ { :href => "/#{@vm_id}" } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ | |
{ | |
"userName": "alphagov", | |
"repo": "vcloud-tools" | |
}, | |
{ | |
"userName": "alphagov", | |
"repo": "vcloud-tools-tester" | |
}, | |
{ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Replaces: icedtea-6-plugin, icedtea-7-plugin, openjdk-6-jdk, openjdk-6-jre, openjdk-6-jre-headless, openjdk-7-jdk, openjdk-7-jre, openjdk-7-jre-headless, oracle-java7-bin, oracle-java7-fonts, oracle-java7-jdk, oracle-java7-jre, oracle-java7-plugin, oracle-jdk7-installer, sun-java6-bin, sun-java6-fonts, sun-java6-jdk, sun-java6-jre, sun-java6-plugin | |
Provides: default-jre, default-jre-headless, icedtea-6-plugin, icedtea-7-plugin, java-compiler, java-jdk, java-runtime, java-runtime-headless, java-sdk, java-virtual-machine, java2-jdk, java2-runtime, java2-runtime-headless, java2-sdk, java5-jdk, java5-runtime, java5-runtime-headless, java5-sdk, java6-jdk, java6-runtime, java6-runtime-headless, java6-sdk, java7-jdk, java7-runtime, java7-runtime-headless, java7-sdk, openjdk-6-jdk, openjdk-6-jre, openjdk-6-jre-headless, openjdk-7-jdk, openjdk-7-jre, openjdk-7-jre-headless, oracle-java7-bin, oracle-java7-fonts, oracle-java7-jdk, oracle-java7-jre, oracle-java7-plugin, sun-java6-bin, sun-java6-fonts, sun-java6-jdk, sun- |