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
#!/usr/bin/env ruby | |
# | |
# | |
require 'rubygems' | |
require 'json' | |
require 'rest-client' | |
node = '<FQDN_HERE>' | |
flaphost = 'http://<FLAPJACK_SERVER_HERE>' |
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
# Example usage: | |
# | |
# pry(main)> o = Allergies.new(0) | |
#=> #<Allergies:0x007f8a67b88190 @allergy_list=[]> | |
#[3] pry(main)> o.list | |
#=> [] | |
#[4] pry(main)> o = Allergies.new(6) | |
#=> #<Allergies:0x007f8a660210a0 @allergy_list=[4, 2]> | |
#[5] pry(main)> o.allergic_to?('shellfish') | |
#=> true |
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
=== BEGIN goroutine stack dump ===\ngoroutine 25 [running]:\ngithub.com/docker/docker/pkg/signal.DumpStacks()\n\t/build/amd64-usr/var/tmp/portage/app-emulation/docker-1.12.6-r1/work/docker-1.12.6/.gopath/src/github.com/docker/docker/pkg/signal/trap.go:74 +0x98\ngithub.com/docker/docker/daemon.setupDumpStackTrap.func1(0xc8203e7320)\n\t/build/amd64-usr/var/tmp/portage/app-emulation/docker-1.12.6-r1/work/docker-1.12.6/.gopath/src/github.com/docker/docker/daemon/debugtrap_unix.go:18 +0x5e\ncreated by github.com/docker/docker/daemon.setupDumpStackTrap\n\t/build/amd64-usr/var/tmp/portage/app-emulation/docker-1.12.6-r1/work/docker-1.12.6/.gopath/src/github.com/docker/docker/daemon/debugtrap_unix.go:20 +0x13f\n\ngoroutine 1 [chan receive, 1462 minutes]:\nmain.(*DaemonCli).start(0xc8203d99b0, 0x0, 0x0)\n\t/build/amd64-usr/var/tmp/portage/app-emulation/docker-1.12.6-r1/work/docker-1.12.6/cmd/dockerd/daemon.go:308 +0x2274\nmain.main()\n\t/build/amd64-usr/var/tmp/portage/app-emulation/docker-1.12.6-r1/work/docker-1.12.6/ |
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
args: | |
- --cache-size=1000 | |
- --no-resolv | |
- --server=/cluster.local/ec2.internal/127.0.0.1#10053 | |
- --server=169.254.169.253 | |
- --server=8.8.8.8 | |
- --log-facility=- | |
- --log-queries | |
- --address=/com.cluster.local/com.svc.cluster.local/com.kube-system.svc.cluster.local/vevo.com.cluster.local/vevo.com.svc.cluster.local/vevo.com.kube-system.svc.cluster.local/com.ec2.internal/ec2.internal.kube-system.svc.cluster.local/ec2.internal.svc.cluster.local/ec2.internal.cluster.local/ |
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
{"log":"{\"message\":\"LOGSPEWPREFIXSIZE17408:pu0m<TRIMMED ABOUT 15K HERE>if324z54fn5lj5d74oka9kobybin8othqolng51czs7rcdkzta3w3ithgfu2okdcy0lxmi2g3pygvqkcddevql1x9b9eydnuge2f0hdayi825f4z5xw2idhds13js86w1rlfm74c88k6j3w5ksx0hrjel8czdwxeuo6yaq6odnu4ar8ycjz3f6s17ibs5pw4swhka6lwpak5qm3v3dkr3dyvwm6ssodzsmonj66ksmuixr6rjqi78lddvgr90zgx2pguynyt794hurodceoem9aaiznqj29n0h524ynug84py19wouy8jnzinljtjj26wn0xw19mda7z5h4bimct4lohf8nbc3xooo8kok0mpot3himbe5bcter78toc0v1749sohhbehq1vdznn4uodgm9lqwl8b59n3x6lg9jydxd0hvs1h29413i1dxnes","stream":"stdout","time":"2017-04-27T21:13:32.984794623Z"} | |
{"log":"r5g7h0evfxkxxao41gn4wsmrxwgajjjym3aikvivfbwf3pq3ve98nwqqugasgz7f5srm7uycn0z6fekbr39fyy3b6287z3rsegkjk512jarc4z19es7irfj3dbozn3t019k3waqi6um1fws8w7cxpr8jgop8k4dvg3dxbv7yfvubakxmw182z4nvi14oeirx153qqzx71gxp6brfak0oxb2ch4iziivmhictwhhmo93hu275l7tr8j2xodizti2kvffmqnzc5379b5zj3g0k9q8h2zfs66830on4vilk2fbe1vsc1yt8lb305jmbi8ts6zz34bd6390nsq05t9a1sgfuuex8oxpgel2w2ozg29xpiukj1f9392fkr4wko3xgc3qkdk4wzn91zv6adjjhsuo2l9gsze2hf0gs49w1ngm42r4a906x |
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
<filter docker.*> | |
@type concat | |
key log | |
multiline_start_regexp /{\\"message\\":/ | |
multiline_end_regexp /\\"service_name\\":/ | |
continuous_line__regexp /^(\\"message\\":|\\"service_name\\":)/ | |
</filter> |
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
error querying dnsmasq from metrics side car | |
ERROR: logging before flag.Parse: W0510 22:10:31.083563 1 server.go:53] Error getting metrics from dnsmasq: read udp 127.0.0.1:60188->127.0.0.1:53: read: connection refused | |
kube-dns errors | |
I0510 20:36:49.107543 1 logs.go:41] skydns: failure to forward request "read udp 172.20.23.5:46695->10.40.0.2:53: i/o timeout" |
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
# TYPE etcd_disk_wal_fsync_duration_seconds histogram | |
etcd_disk_wal_fsync_duration_seconds_bucket{le="0.001"} 76848 | |
etcd_disk_wal_fsync_duration_seconds_bucket{le="0.002"} 97194 | |
etcd_disk_wal_fsync_duration_seconds_bucket{le="0.004"} 99219 | |
etcd_disk_wal_fsync_duration_seconds_bucket{le="0.008"} 99663 | |
etcd_disk_wal_fsync_duration_seconds_bucket{le="0.016"} 99906 | |
etcd_disk_wal_fsync_duration_seconds_bucket{le="0.032"} 99970 | |
etcd_disk_wal_fsync_duration_seconds_bucket{le="0.064"} 100017 | |
etcd_disk_wal_fsync_duration_seconds_bucket{le="0.128"} 100030 | |
etcd_disk_wal_fsync_duration_seconds_bucket{le="0.256"} 100037 |
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
env GOOS=linux go build -o benchmark -v . master | |
runtime/internal/sys | |
runtime/internal/atomic | |
runtime | |
errors | |
internal/race | |
sync/atomic | |
math | |
unicode/utf8 | |
crypto/subtle |
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 get github.com/coreos/etcd | |
[TRUNCATED OUTPUT] | |
git checkout v3.2.9 master | |
Note: checking out 'v3.2.9'. | |
You are in 'detached HEAD' state. You can look around, make experimental | |
changes and commit them, and you can discard any commits you make in this | |
state without impacting any branches by performing another checkout. |
OlderNewer