Commit 664ccd60 authored by Paul Asmuth's avatar Paul Asmuth
Browse files

delete more dead code

parent d5ab85a8
Loading
Loading
Loading
Loading

3rdparty/libfnord/Dockerfile

deleted100644 → 0
+0 −22
Original line number Diff line number Diff line
FROM ubuntu:14.04

RUN apt-get update \
  && apt-get install -y curl \
  && rm -rf /var/lib/apt/lists/*

RUN buildDeps='unzip git gcc make clang++-3.4 cmake libmysqlclient-dev'; \
  set -x \
  && apt-get update && apt-get install -y $buildDeps --no-install-recommends \
  && rm -rf /var/lib/apt/lists/* 

RUN mkdir -p /usr/src/ \
  && cd /usr/src \
  && curl -R -O https://codeload.github.com/dolfly/fnordmetric/zip/master \
  && unzip master \
  && cd fnordmetric-master/fnordmetric-core \
  && make \
  && cp build/cmake/target/fnordmetric-server /usr/local/bin

VOLUME /data/fnordmetric
EXPOSE 8080 8125/udp
CMD [ "/usr/local/bin/fnordmetric-server", "--http_port", "8080", "--statsd_port", "8125", "--storage_backend", "disk", "--datadir", "/data/fnordmetric"]

3rdparty/libfnord/Makefile

deleted100644 → 0
+0 −20
Original line number Diff line number Diff line
all: build test

build:
	mkdir -p build
	(cd build && cmake -GNinja -DCMAKE_BUILD_TYPE=Release .. && ninja)

build-dbg:
	mkdir -p build-dbg
	(cd build-dbg && cmake -GNinja -DCMAKE_BUILD_TYPE=Debug .. && ninja)

test: build
	@find build/tests -name "test-*" -exec ./{} \;

test-dbg: build-dbg
	@find build-dbg/tests -name "test-*" -exec ./{} \;

clean:
	rm -rf build build-dbg

.PHONY: clean build build-dbg test

3rdparty/libfnord/README.md

deleted100644 → 0
+0 −101
Original line number Diff line number Diff line
FnordMetric
===========

FnordMetric allows you collect and visualize timeseries data using only SQL. It
enables you to build beautiful real-time analytics dashboards within minutes.

Documentation: [fnordmetric.io](http://fnordmetric.io/)

Demo Video: [http://fnordmetric.io/fnordmetric-server.mp4](http://fnordmetric.io/fnordmetric-server.mp4)

[ ![Screenshot](https://raw.githubusercontent.com/paulasmuth/fnordmetric/master/fnordmetric-doc/web/assets/img/fnordmetric_server_screen1.png) ](http://github.com/paulasmuth/fnordmetric)



#### FnordMetric ChartSQL

FnordMetric ChartSQL allows you to write SQL queries that return charts instead
of tables. The charts are rendered as SVG vector graphics and can easily be
embedded into any website and customized with css in order to build beautiful
dashboards.

You can execute ChartSQL queries from the command line against a number of
external sources like CSV files or a MySQL database.


#### FnordMetric Server

Fnordmetric Server is a standalone HTTP server application. It exposes a web UI
and a HTTP API to run ChartSQL queries and collect timeseries data. You can use
fnordmetric-server as a one-stop solution for metric collection and charting.
Since fnordmetric-server aims to be a StatsD+graphite competitor, it implements
a wire compatible StatsD API.

FnordMetric Server can store the collected timeseries data on local disk or in
external storage (HBase).


Documentation
-------------

You can find the full FnordMetric Documentation at http://fnordmetric.io/


Contributions
-------------

#### Individual Contributors to FnordMetric

+ Laura Schlimmer (http://github.com/lauraschlimmer)
+ Christian Parpart (http://github.com/trapni)
+ Finn Zirngibl (https://github.com/finnomenon)
+ Simon Menke (http://github.com/fd)
+ Bruno Michel (http://github.com/nono)
+ Marco Borromeo (http://github.com/mborromeo)
+ Leo Lou (http://github.com/l4u)
+ Andy Lindeman (http://github.com/alindeman)
+ Jurriaan Pruis (http://github.com/jurriaan)
+ Kacper Bielecki (http://github.com/kazjote)
+ John Murray (http://github.com/JohnMurray)
+ Lars Gierth (http://github.com/lgierth)
+ Ross Kaffenberger (http://github.com/rossta)
+ Kunal Modi (http://github.com/kunalmodi)
+ Michael Fairchild (http://github.com/fairchild)
+ James Cox (http://github.com/imajes)
+ Pieter Noordhuis (http://github.com/pietern)
+ Tadas Ščerbinskas (http://github.com/tadassce)
+ Sebastian Korfmann (http://github.com/skorfmann)
+ Paul Asmuth (http://github.com/paulasmuth)

To contribute, please fork this repository, make your changes and run the 
specs, commit them to your github repository and send me a pull request.
Need help, head on over to our [Google Groups][1]  page to discuss any ideas
that you might have.

#### Other Open Source Software included in FnordMetric

  + Marijn Haverbeke's CodeMirror --- javascript code editor (https://github.com/marijnh/codemirror)
  + FontAwesome --- icon font (http://fontawesome.io/)

License
-------

Copyright (c) 2011-2014 Paul Asmuth

FnordMetric is free software: you can redistribute it and/or modify it under
the terms of the GNU General Public License as published by the Free Software
Foundation, either version 3 of the License, or (at your option) any later
version.

FnordMetric is distributed in the hope that it will be useful,but WITHOUT ANY
WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with
FnordMetric. If not, see <http://www.gnu.org/licenses/>.


  [1]: http://groups.google.com/group/fnordmetric
  [2]: http://www.screenr.com/KiJs
  [3]: https://secure.travis-ci.org/paulasmuth/fnordmetric.png
  [4]: http://travis-ci.org/paulasmuth/fnordmetric

3rdparty/libfnord/TODO

deleted100644 → 0
+0 −63
Original line number Diff line number Diff line
-> timeouts
-> rpcchannel (rcpclient + servergroup_)
-> rpc numRetries/retryStrategie, onRetry(Duration delay) (instead of ready()/onError!)
-> rpc timeout
-> httprpcservlect<codec>
-> http servlet should return response future!

metricdb: insert distribution value
metric http api: histogram endpoint
metric http api: rollup endpoint
metric http api: list subdirectory (non-)recursive
metric: mean/median aggregation
metric: percentile aggregation
charts: axis ticks+labels inside/outside
charts: control no of ticks on grid/axis
charts: png render target
charts: stacked areas

better inetaddr:resolve iface:
  -> future<inteaddr> resolve(string);
  -> future<inetaddr> resolve(url); // resolves service port e.g. http->80, https->443
-> datetime -> walltime (or unixtime?), audit usage vs monotonic/tai time

-> queueworker abstraction (max concurrent jobs)

-> RPC::convertToFuture impl

-> spinlock

-> stringview class

-> benchmark + microoptimize StringUtil::split
-> benchmark + microoptimize URI#decode for long urls
-> use msgpack for rpcs because JSON#readString is slow
-> InetAddr#resolve blocks...

-> logstreamservice delete
-> logstreamservice getcuroffset

-> spinlock in http{client,server} connection
-> http server conn keepalie fixx

-> use redis async conn on eventloop instead of blocking conn

-> httpconnpoool: leaks connections, add idle timeout
-> cancelable wait

-> http connection timeouts + retry options

-> thread pool: max queue size + max thread size
-> thread pool wait()

-> timeout impl
-> eventloop shutdown

-> ratio of item visits to queries (only item visits but no queries -> fraud)
-> number of userids per source ip
-> session too long

-> sstable row format improvements
-> proper logger iface
-> exception refactoring
-> fix StringUtil::toString (should take const& param)
+0 −3
Original line number Diff line number Diff line
*.o
*.a
build/
Loading