forked from OpenTSDB/opentsdb
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add the Jackson dependency for de/serializing objects with JSON forma…
…t which will be used in the API as well as HBase data storage. Add an src/utils directory for shared utilities that are not a part of the OpenTSDB core behavior Add utils/JSON that provides instantiation of a static Jackson ObjectMaper and some helper methods Tested standard and Maven builds Add mygnuplot.bat that works on Windows machines with gnuplot installed Modify GraphHandler to support Windows machines. Really simple, just had to tweak the line endings. Tested changes on Linux and Windows, works fine Add a Java Properties format configuration file for OpenTSDB. It's fully backwards compatible in that you can still use the existing command line options, which will overload defaults or config file options, but it can let you save a config file in a certain location and use any of the TSD CLI tools without passing extra parameters. Sample config file is at src/opentsdb.conf The Config class has helpers to convert values to numbers or boolean Modify all of the code that used to reply on System properties or other means to use the new Config class Mark the start of 2.0.0 in configure.ac and NEWS Signed-off-by: Chris Larsen <[email protected]>
- Loading branch information
Showing
30 changed files
with
1,841 additions
and
172 deletions.
There are no files selected for viewing
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 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 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -14,7 +14,7 @@ | |
# along with this library. If not, see <http://www.gnu.org/licenses/>. | ||
|
||
# Semantic Versioning (see http://semver.org/). | ||
AC_INIT([opentsdb], [1.1.0], [[email protected]]) | ||
AC_INIT([opentsdb], [2.0.0], [[email protected]]) | ||
AC_CONFIG_AUX_DIR([build-aux]) | ||
AM_INIT_AUTOMAKE([foreign]) | ||
|
||
|
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 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 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 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 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
set -e | ||
stdout=$1 | ||
shift | ||
stderr=$1 | ||
shift | ||
gnuplot %1 2>&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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,60 @@ | ||
# --------- NETWORK ---------- | ||
# The TCP port TSD should use for communications | ||
# *** REQUIRED *** | ||
tsd.network.port = | ||
|
||
# The IPv4 network address to bind to, defaults to all addresses | ||
# tsd.network.bind = 0.0.0.0 | ||
|
||
# Enables Nagel's algorithm to reduce the number of packets sent over the | ||
# network, default is True | ||
#tsd.network.tcpnodelay = true | ||
|
||
# Determines whether or not to send keepalive packets to peers, default | ||
# is True | ||
#tsd.network.keepalive = true | ||
|
||
# Determines if the same socket should be used for new connections, default | ||
# is True | ||
#tsd.network.reuseaddress = true | ||
|
||
# Number of worker threads dedicated to Netty, defaults to # of CPUs * 2 | ||
#tsd.network.worker_threads = 8 | ||
|
||
# Whether or not to use NIO or tradditional blocking IO, defaults to True | ||
#tsd.network.async_io = true | ||
|
||
# ----------- HTTP ----------- | ||
# The location of static files for the HTTP GUI interface. | ||
# *** REQUIRED *** | ||
tsd.http.staticroot = | ||
|
||
# Where TSD should write it's cache files to | ||
# *** REQUIRED *** | ||
tsd.http.cachedir = | ||
|
||
# --------- CORE ---------- | ||
# Whether or not to automatically create UIDs for new metric types, default | ||
# is False | ||
#tsd.core.auto_create_metrics = false | ||
|
||
# --------- STORAGE ---------- | ||
# Whether or not to enable data compaction in HBase, default is True | ||
#tsd.storage.enable_compaction = true | ||
|
||
# How often, in milliseconds, to flush the data point queue to storage, | ||
# default is 1,000 | ||
# tsd.storage.flush_interval = 1000 | ||
|
||
# Name of the HBase table where data points are stored, default is "tsdb" | ||
#tsd.storage.hbase.data_table = tsdb | ||
|
||
# Name of the HBase table where UID information is stored, default is "tsdb-uid" | ||
#tsd.storage.hbase.uid_table = tsdb-uid | ||
|
||
# Path under which the znode for the -ROOT- region is located, default is "/hbase" | ||
#tsd.storage.hbase.zk_basedir = /hbase | ||
|
||
# A space separated list of Zookeeper hosts to connect to, with or without | ||
# port specifiers, default is "localhost" | ||
#tsd.storage.hbase.zk_quorum = localhost |
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
Oops, something went wrong.