This file contains 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
This file contains any messages produced by compilers while | |
running configure, to aid debugging if configure makes a mistake. | |
It was created by collectd configure 5.4.0.43.g55ce7b5, which was | |
generated by GNU Autoconf 2.69. Invocation command line was | |
$ ./configure --disable-all-plugins --enable-amqp --enable-cpu | |
## --------- ## | |
## Platform. ## |
This file contains 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
4 1 0x01 84 4032 2357066490 4482539043746204 | |
name type data | |
hits 4 554171063 | |
misses 4 307174944 | |
demand_data_hits 4 43826374 | |
demand_data_misses 4 1898264 | |
demand_metadata_hits 4 493795953 | |
demand_metadata_misses 4 133905126 | |
prefetch_data_hits 4 2048172 | |
prefetch_data_misses 4 3930236 |
This file contains 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
(streams | |
(let [hosts (atom #{})] | |
(fn [event] | |
(swap! hosts conj (:host event)) | |
((throttle 1 10 index) {:service "unique hosts" :time (unix-time) :metric (count @hosts)}) | |
) | |
) | |
) |
This file contains 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
"Name","Time (ms)","Own Time (ms)" | |
"java.math.BigDecimal.divide(BigDecimal, MathContext)","1418","1418" | |
"java.util.concurrent.ThreadPoolExecutor$Worker.run()","4911","1354" | |
"java.lang.Thread.run()","10843","1350" | |
"java.math.BigInteger.gcd(BigInteger)","810","810" | |
"java.math.BigInteger.multiply(BigInteger)","618","618" | |
"java.math.BigInteger.divide(BigInteger)","509","509" | |
"org.jboss.netty.handler.codec.oneone.OneToOneEncoder.doEncode(ChannelHandlerContext, MessageEvent)","131","364" | |
"clojure.lang.Numbers.minus(Object, Object)","3005","263" | |
"clojure.lang.Numbers$LongOps.gcd(long, long)","259","259" |
This file contains 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
(by :service | |
(coalesce | |
(smap folds/sum (with {:host "total cluster" :state "ok"} index)) | |
(smap | |
(fn [events] | |
(let [total (:metric (folds/sum events))] | |
(info total " " (type events) " " (map (fn [e] (:host e)) events)) | |
;(info (map (fn [e] e) events)) | |
) | |
) |
This file contains 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
(streams | |
(where (service "riemann streams rate") | |
(fixed-time-window 10 | |
(smap (fn [events] | |
(let [event_count (count events) now (quot (System/currentTimeMillis) 1000)] | |
(prn {:host "foo" :service "bar" :metric event_count :time now}) | |
(index {:host "foo" :service "bar" :metric event_count :time now}) | |
) | |
)) | |
) |
This file contains 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
4 1 0x01 84 4032 347839142 530034724281435 | |
name type data | |
hits 4 647407796 | |
misses 4 39058252 | |
demand_data_hits 4 15995149 | |
demand_data_misses 4 311480 | |
demand_metadata_hits 4 557816658 | |
demand_metadata_misses 4 20554126 | |
prefetch_data_hits 4 309934 | |
prefetch_data_misses 4 4208588 |
This file contains 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
# depends on the following modules: | |
# - puppetlabs/apache | |
# - puppetlabs/vcsrepo | |
# - camptocamp/selinux | |
class riemann::dash::passenger ($passenger_version = '4.0.50') { | |
# you'll also need gcc, gcc-c++, make, autoconf, etc, installed | |
package { ['httpd-devel', 'apr-devel', 'apr-util-devel', 'libcurl-devel', 'openssl-devel', 'zlib-devel']: } -> | |
package { 'passenger': |
This file contains 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
config_opts['root'] = '<%= distro %>-<%=version %>-<%= architecture %>' | |
config_opts['target_arch'] = '<%= architecture %>' | |
config_opts['legal_host_arches'] = ('i386', 'x86_64') | |
config_opts['chroot_setup_cmd'] = 'groupinstall buildsys-build' | |
config_opts['dist'] = 'c<%= version %>' # only useful for --resultdir variable subst | |
config_opts['yum.conf'] = """ | |
[main] | |
cachedir=/var/cache/yum | |
debuglevel=1 |
This file contains 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
root@08ebc8c35bad:/usr/src/collectd# ldd /opt/collectd/lib/collectd/varnish.so | |
linux-vdso.so.1 (0x00007ffff6bfc000) | |
libvarnishapi.so.1 => /usr/lib/x86_64-linux-gnu/libvarnishapi.so.1 (0x00007f67a7328000) | |
libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007f67a7124000) | |
libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f67a6d7b000) | |
libpcre.so.3 => /lib/x86_64-linux-gnu/libpcre.so.3 (0x00007f67a6b0d000) | |
librt.so.1 => /lib/x86_64-linux-gnu/librt.so.1 (0x00007f67a6905000) | |
libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007f67a66e7000) | |
/lib64/ld-linux-x86-64.so.2 (0x00007f67a775c000) |