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
~/w/e/influxdb ❯❯❯ ./daemon -config=config.toml | |
[03/07/14 09:47:18] [INFO] Redirectoring logging to influxdb.log | |
[03/07/14 09:47:18] [INFO] Starting Influx Server bound to 0.0.0.0 ... | |
[03/07/14 09:47:18] [INFO] | |
+---------------------------------------------+ | |
| _____ __ _ _____ ____ | | |
| |_ _| / _| | | __ \| _ \ | | |
| | | _ __ | |_| |_ ___ _| | | | |_) | | | |
| | | | '_ \| _| | | | \ \/ / | | | _ < | | |
| _| |_| | | | | | | |_| |> <| |__| | |_) | | |
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
~/w/e/diamond ❯❯❯ python2 ./bin/diamond -f -l -c conf/diamond.conf.example | |
[2014-03-10 11:28:32,305] [MainThread] Changed UID: 1000 () GID: 1000 (). | |
[2014-03-10 11:28:32,306] [MainThread] Loaded Handler: diamond.handler.graphite.GraphiteHandler | |
[2014-03-10 11:28:32,307] [MainThread] GraphiteHandler: Established connection to graphite server localhost:2003. | |
[2014-03-10 11:28:32,307] [MainThread] Loaded Handler: diamond.handler.archive.ArchiveHandler | |
[2014-03-10 11:28:32,406] [MainThread] Loading Collectors from: /home/dieter/workspaces/eclipse/diamond/src/collectors | |
[2014-03-10 11:28:32,406] [MainThread] Loading Collectors from: /home/dieter/workspaces/eclipse/diamond/src/collectors/diskusage | |
[2014-03-10 11:28:32,406] [MainThread] Loading Collectors from: /home/dieter/workspaces/eclipse/diamond/src/collectors/diskusage/test | |
[2014-03-10 11:28:32,415] [MainThread] Loaded Module: diskusage | |
[2014-03-10 11:28:32,415] [MainThread] Loaded Collector: diskusage.DiskUsageCollector |
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
diff --git a/conf/diamond.conf.example b/conf/diamond.conf.example | |
index 18c5e09..d5f0779 100644 | |
--- a/conf/diamond.conf.example | |
+++ b/conf/diamond.conf.example | |
@@ -21,7 +21,7 @@ group = | |
pid_file = /var/run/diamond.pid | |
# Directory to load collector modules from | |
-collectors_path = /usr/share/diamond/collectors/ | |
+collectors_path = /home/dieter/workspaces/eclipse/diamond/src/collectors |
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
#!/bin/bash | |
# TODO be aware of alerting db and other state | |
# make sure $base exists first with correct perms | |
base=/opt/graph-explorer | |
custom=$(pwd) | |
dst=$base/install | |
env=$base/virtualenv | |
rm -rf $dst | |
rm -rf $env | |
#git clone --recursive https://github.com/vimeo/graph-explorer.git $dst |
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@dieter-linode1 ~]# pacman -Sy pacman | |
:: Synchronizing package databases... | |
core is up to date | |
extra is up to date | |
community is up to date | |
resolving dependencies... | |
looking for inter-conflicts... | |
Targets (8): bash-4.3-3 filesystem-2013.05-2 glibc-2.19-3 libarchive-3.1.2-6 linux-api-headers-3.13.2-1 lzo2-2.06-3 readline-6.3-3 pacman-4.1.2-5 |
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
FROM brutasse/graphite-api | |
ONBUILD ADD graphite-api.yaml /etc/graphite-api.yaml | |
ONBUILD RUN chmod 0644 /etc/graphite-api.yaml | |
ONBUILD RUN pip install graphite_influxdb | |
ONBUILD RUN pip install graphite-influxdb |
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@eb26ceee0a3d:/# gunicorn -b 0.0.0.0:8000 -w 1 --log-level debug graphite_api.app:app | |
2014-04-08 21:55:28 [89] [INFO] Starting gunicorn 18.0 | |
2014-04-08 21:55:28 [89] [DEBUG] Arbiter booted | |
2014-04-08 21:55:28 [89] [INFO] Listening at: http://0.0.0.0:8000 (89) | |
2014-04-08 21:55:28 [89] [INFO] Using worker: sync | |
2014-04-08 21:55:28 [94] [INFO] Booting worker with pid: 94 | |
{"path": "/etc/graphite-api.yaml", "event": "loading configuration"} | |
{"index_path": "/srv/graphite/index", "event": "reading index data"} | |
{"index_path": "/srv/graphite/index", "duration": 0.0003528594970703125, "total_entries": 153, "event": "search index reloaded"} |
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
search_index: /srv/graphite/index | |
finders: | |
- graphite_api.finders.whisper.WhisperFinder | |
- graphite_influxdb.InfluxdbFinder | |
functions: | |
- graphite_api.functions.SeriesFunctions | |
- graphite_api.functions.PieFunctions | |
influxdb: | |
host: "influx1" | |
port: 8086 |
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
$ wget $graphite_web/metrics/index.json -O - | json_pp | grep 'servers\.dfvimeotran12\.cpu\.cpu.*\.idle' | |
(...) | |
"servers.dfvimeotran12.cpu.cpu0.idle", | |
"servers.dfvimeotran12.cpu.cpu1.idle", | |
"servers.dfvimeotran12.cpu.cpu10.idle", | |
"servers.dfvimeotran12.cpu.cpu11.idle", | |
"servers.dfvimeotran12.cpu.cpu12.idle", | |
"servers.dfvimeotran12.cpu.cpu13.idle", | |
"servers.dfvimeotran12.cpu.cpu14.idle", | |
"servers.dfvimeotran12.cpu.cpu15.idle", |
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
$ ./configure && make | |
(..)ersion_edit.o db/version_set.o db/write_batch.o table/block_builder.o table/block.o table/filter_block.o table/format.o table/iterator.o table/merger.o table/table_builder.o table/table.o table/two_level_iterator.o util/arena.o util/bloom.o util/cache.o util/coding.o util/comparator.o util/crc32c.o util/env.o util/env_posix.o util/filter_policy.o util/hash.o util/histogram.o util/logging.o util/options.o util/status.o port/port_posix.o | |
ar: creating libleveldb.a | |
make[1]: Leaving directory '/tmp/leveldb.influxdb.amd64' | |
/usr/bin/go get code.google.com/p/goprotobuf/protoc-gen-go | |
rm -f src/protocol/*.pb.go | |
PATH=$PWD/bin:$PATH /usr/bin/protoc --go_out=. src/protocol/*.proto | |
/usr/bin/go build daemon | |
# github.com/goraft/raft | |
src/github.com/goraft/raft/append_entries_response.go:12: AppendEntriesResponse redeclared in this block |
OlderNewer