Commit graph

26 commits

Author SHA1 Message Date
66d00693c0 branch merge 2021-10-27 14:51:51 -07:00
0739bac11c Update quitProc for nim 1.6 deprecation warning. 2021-10-20 11:41:30 -07:00
fc75c6dcc8 Fix link to Timescale JSON docs. 2021-08-05 10:48:20 -07:00
2980bff63e Support storing Netdata host labels, if they are passed to this json backend. 2020-12-12 21:46:39 -08:00
81f6ff4b69 Fix docs: exporting.conf example and help verbose/version typo.
diff -r 8ab012d41a9c README.md
--- a/README.md	Sat Jul 25 15:31:28 2020 -0700
+++ b/README.md	Thu Dec 10 17:20:01 2020 -0800
@@ -67,10 +67,10 @@

 ```
 [exporting:global]
-	enabled = yes
+	enabled  = yes
+	hostname = your-hostname

 [json:timescale]
-	hostname             = your-hostname
 	enabled              = yes
 	data source          = average
 	destination          = localhost:14866
diff -r 8ab012d41a9c netdata_tsrelay.nim
--- a/netdata_tsrelay.nim	Sat Jul 25 15:31:28 2020 -0700
+++ b/netdata_tsrelay.nim	Thu Dec 10 17:20:01 2020 -0800
@@ -85,7 +85,7 @@
     Alter the maximum time (in ms) an open socket waits for data
     before processing the sample.  Default: 500ms.

-  -v --verbose:
+  -v --version:
     Display version number.

     """
2020-12-10 17:20:37 -08:00
5290a20d96 Added tag v0.3.0 for changeset 1f09cfb560e0 2020-07-25 15:31:28 -07:00
7ca97aac73 Multiple changes.
- Clean up various nim compiler warnings.
    ... except ObservableStores. https://forum.nim-lang.org/t/6442#39738

  - Update documentation for Netdata v1.23's "exporting" module.

  - TCP connections to netdata where dropped by default.  Expose this
    behavior as a toggle, and change the default to leave the child
	process (and the tcp socket) open.

  - Bump to v0.3.0.
2020-07-25 15:05:26 -07:00
40a03aa85b Added tag v0.2.0 for changeset 96b8799a565a 2018-11-19 12:05:51 -08:00
8d1e22383f Fix command line usage docs, replace deprecated recvLine() with readLine(). 2018-11-19 12:05:47 -08:00
7e44181f45 Updates for nim 0.19. 2018-11-06 15:54:05 -08:00
d3e020362c Lowercase all hostnames before sending to the database. 2018-06-26 09:47:23 -07:00
68f253d460 Update README Timescale example for v0.9.0. 2018-03-05 15:34:12 -08:00
5d4c9f24e8 Remove port and user from the default dbopts, so they instead use the postgresql behavioral default. 2018-02-20 10:59:26 -08:00
2c721fd622 Fix typos, add small "scaling" section. 2018-02-19 18:34:36 -08:00
b8d036a5da Multiple changes:
- Make the 'release' build the default.
  - Add a configurable socket timeout parameter.
  - Make the table name configurable.
  - Add usage docs to the README.
2018-02-19 18:22:25 -08:00
895453f4d3 Fix the netdata link to point the the right spot.
... shame!
2018-02-18 23:40:34 -08:00
61241defa1 Properly reap child processes. 2018-02-18 22:18:44 -08:00
d9c179f32a Multiple changes.
- There's still a delay somewhere with threading in the socket read()
   that impacts simultaneous client connections.  After a bunch of
   experimenting with Channel message passing, rip it all out in
   favor of a simple fork()ing server.

 - Remove the color option, just check stdout for a tty instead to make
   it automatic.

 - Better error handling for malformed packets/samples.
2018-02-18 18:16:37 -08:00
687f0411be Force a GC pass after 25 cycles. Don't bother with sync() at exit, unnecessary. 2018-02-15 10:29:37 -08:00
9441693a4a Each incoming connection requires its own client socket. 2018-02-14 17:27:29 -08:00
0dc6545498 Multiple changes.
- Colorize output by default, add option to disable.
 - Time parsing per incoming client.
 - Add a "quiet" mode.
 - Allow binding to a specific IP address.
 - Allow debug mode to be set without recompiling.
 - Alter thread wrapper for reporting and config passing.
 - Fix file descriptor leak with client connections.
 - Wait for current threads to finish before exiting.
2018-02-14 15:41:11 -08:00
9f4f661eef Wrap commits in a transaction. 2018-02-12 13:25:26 -08:00
2e19a79772 Add timescale creation example. 2018-02-12 13:00:25 -08:00
b1b5667c6f Add hgignore file. 2018-02-12 12:49:48 -08:00
aebe51c9e8 Add README. 2018-02-12 12:49:12 -08:00
e305686d6d Initial commit. 2018-02-12 12:26:16 -08:00