Ruakij
|
1012001312
|
Implement env-var-checks
|
2021-12-09 17:14:11 +01:00 |
|
Ruakij
|
f596a99ee6
|
Implement converter-stream point -> lineProtocol
|
2021-12-09 17:13:34 +01:00 |
|
Ruakij
|
d1cf1d8f7d
|
Add connection-state tracking as getter
|
2021-12-09 17:12:59 +01:00 |
|
Ruakij
|
4e2ffec656
|
Fix typo
|
2021-12-09 17:12:42 +01:00 |
|
Ruakij
|
7f5e168fda
|
Added missing autoReconnectBackoffTime
|
2021-12-09 17:12:35 +01:00 |
|
Ruakij
|
024305db43
|
Fixed host and port wrong way around
|
2021-12-09 17:12:11 +01:00 |
|
Ruakij
|
6b93a02943
|
Implement basic LineProtocolWriter
|
2021-12-09 15:47:26 +01:00 |
|
Ruakij
|
7753c245d2
|
Created first big version of documentation
|
2021-12-09 12:52:28 +01:00 |
|
Ruakij
|
a1faee8303
|
Change linkTypeDetail to be written to the upper-scoped-var
|
2021-12-07 14:53:11 +01:00 |
|
Ruakij
|
230c75ffd4
|
Fix match being wrong way around
|
2021-12-07 14:51:53 +01:00 |
|
Ruakij
|
7c5c37e9b5
|
Implemented check if interface is in wrong mode
|
2021-12-07 14:43:49 +01:00 |
|
Ruakij
|
ae389c8310
|
Fix signal not being used
|
2021-12-07 14:43:26 +01:00 |
|
Ruakij
|
a3d7239895
|
Change shutdown to accept exitCode and kill-signal
|
2021-12-07 14:42:37 +01:00 |
|
Ruakij
|
38fed9604c
|
Merge branch 'release-2.0' into dev
|
2021-12-06 13:42:37 +01:00 |
|
Ruakij
|
94846a48e1
|
Fix data-fields not getting added as tags
|
2021-12-06 13:32:21 +01:00 |
|
Ruakij
|
f00db16269
|
Merge branch 'dev' into release-2.0
|
2021-12-06 13:11:02 +01:00 |
|
Ruakij
|
1bffd22735
|
Commented hostname-tag as it could be misleading
|
2021-12-06 13:10:34 +01:00 |
|
Ruakij
|
41b2caecb3
|
Merge branch 'release-2.0' into dev
|
2021-12-06 13:02:40 +01:00 |
|
Ruakij
|
8eef17fd4c
|
Fix wrong default-tag setting
|
2021-12-06 13:01:10 +01:00 |
|
Ruakij
|
39350932a4
|
Changed metric- and tag-names to match best-practise naminc-convention
|
2021-12-06 12:46:04 +01:00 |
|
Ruakij
|
1e37f35e38
|
Moved creation of writeApi to main and set default-tag hostname
|
2021-12-06 12:44:26 +01:00 |
|
Ruakij
|
d0be44c1af
|
Fix coding-style
|
2021-12-06 12:42:34 +01:00 |
|
Ruakij
|
57cf6fb0a7
|
Add npm prune (wont do much here)
|
2021-12-03 10:50:50 +01:00 |
|
Ruakij
|
298a96bf16
|
apk-install on 1 line and delete cache when done
|
2021-12-03 10:48:28 +01:00 |
|
Ruakij
|
b98dff947d
|
Refactored packet to use new code-style (for got last time :/)
|
2021-12-02 14:54:32 +01:00 |
|
Ruakij
|
0f6c5b6b0e
|
Change baseimage from node to node-alpine
Size drastically decreased
|
2021-12-02 14:06:21 +01:00 |
|
Ruakij
|
cc9e4c7258
|
Fix flush using local vars instead of this-vars
|
2021-12-02 13:41:23 +01:00 |
|
Ruakij
|
56ac283544
|
Refactored code to match code-style
|
2021-12-02 13:40:56 +01:00 |
|
Ruakij
|
9095e21e6f
|
Add handshakeStage as metric
|
2021-12-01 14:24:03 +01:00 |
|
Ruakij
|
d14e469ef4
|
Removed error-logging from RegexBlockStream FIXME
|
2021-11-29 15:35:53 +01:00 |
|
Ruakij
|
99a3e13d77
|
Added further exception to error-event from tcpdump
|
2021-11-29 15:35:36 +01:00 |
|
Ruakij
|
b5c895674e
|
Merge branch 'f_gracefulShutdown' into dev
|
2021-11-29 15:34:56 +01:00 |
|
Ruakij
|
86d2b8c1cf
|
Added event for SIGTERM and SIGINT
|
2021-11-29 15:34:19 +01:00 |
|
Ruakij
|
7ff6556d51
|
Merge branch 'f_userHelper' into dev
|
2021-11-29 15:12:39 +01:00 |
|
Ruakij
|
16388c73e5
|
Added additional check for packetStream
|
2021-11-29 15:11:14 +01:00 |
|
Ruakij
|
8211f55b89
|
Added check for tcpdump-process stdout
|
2021-11-29 15:10:42 +01:00 |
|
Ruakij
|
c28bbaaada
|
Moved Stream-creations outside
|
2021-11-29 15:09:59 +01:00 |
|
Ruakij
|
4ddbe3f06f
|
Implemented userHelper methods to detect if streams have data before timeout
|
2021-11-29 15:09:21 +01:00 |
|
Ruakij
|
0d84079ce1
|
Added packetType to tag-fields
|
2021-11-29 14:20:29 +01:00 |
|
Ruakij
|
1bf761970f
|
Added error-handling for regexBlockStream
|
2021-11-29 13:45:36 +01:00 |
|
Ruakij
|
5a0118aedd
|
Added error-handling for process
|
2021-11-29 13:45:15 +01:00 |
|
Ruakij
|
0709db0ddf
|
Changed exit-log to debug
|
2021-11-29 13:44:37 +01:00 |
|
Ruakij
|
c27761322c
|
Catch start-error from tcpdump
tcpdump writes to stderr at the beginning
|
2021-11-29 13:18:29 +01:00 |
|
Ruakij
|
45a11753de
|
Add own logger for tcpdump
|
2021-11-29 13:16:23 +01:00 |
|
Ruakij
|
d482001cdc
|
Merge branch 'f_docker' into dev
|
2021-11-29 13:12:00 +01:00 |
|
Ruakij
|
a681bbd2d2
|
Removed sudo as container runs as root anyways
|
2021-11-29 13:11:11 +01:00 |
|
Ruakij
|
d9ee804c3b
|
Removed src-references as hats the workdir
|
2021-11-29 13:10:44 +01:00 |
|
Ruakij
|
e320d8670b
|
Add installation of package tcpdump
|
2021-11-29 13:10:05 +01:00 |
|
Ruakij
|
2d824543d1
|
fixed cmd
|
2021-11-29 13:09:49 +01:00 |
|
Ruakij
|
6e080907d1
|
Merge branch 'code-smell_handling' into dev
|
2021-11-29 09:58:04 +01:00 |
|
Ruakij
|
91c3aca9e2
|
Add function to get handshakeStage from keyInfo
|
2021-11-29 09:57:33 +01:00 |
|
Ruakij
|
31ab10c3e1
|
Fix wrong var-name
|
2021-11-29 09:57:05 +01:00 |
|
Ruakij
|
8ff7211f0f
|
Revert "Extract packetType handling in own function"
This reverts commit 227ba127f8.
|
2021-11-29 09:50:14 +01:00 |
|
Ruakij
|
2ae85ababb
|
Extract keyInfo reading to helper-file
|
2021-11-29 09:37:28 +01:00 |
|
Ruakij
|
227ba127f8
|
Extract packetType handling in own function
|
2021-11-29 09:36:21 +01:00 |
|
Ruakij
|
8417de5756
|
Extract checks with if-statements
|
2021-11-29 09:35:17 +01:00 |
|
Ruakij
|
54eadf3bc3
|
Fixed Regex codesmells
|
2021-11-29 09:24:18 +01:00 |
|
Ruakij
|
e39ebaac23
|
Fixed Regex codesmell
|
2021-11-29 09:23:08 +01:00 |
|
Ruakij
|
54d627d469
|
Fix typo
|
2021-11-29 09:20:38 +01:00 |
|
Ruakij
|
ca3c37be0f
|
Activating strict-mode
|
2021-11-29 09:16:49 +01:00 |
|
Ruakij
|
96b52e63a0
|
Add exit-handler with error-detection
|
2021-11-29 09:16:39 +01:00 |
|
Ruakij
|
3c5e941cba
|
Creating & Attaching streams / Error-logger
|
2021-11-29 09:15:49 +01:00 |
|
Ruakij
|
a468d7a57b
|
Start tcpdump process
|
2021-11-29 09:14:50 +01:00 |
|
Ruakij
|
4ad5eba7e0
|
Change tag-srtting to recursive by field
This will properly set e.g. arrays
|
2021-11-26 21:03:11 +01:00 |
|
Ruakij
|
2646c9787e
|
Changed key-checking to value-checking
This includes e.g. gettings, originally not included in keys
|
2021-11-26 21:00:15 +01:00 |
|
Ruakij
|
873f00b21b
|
Remove deleting point and rename point to something useable
|
2021-11-26 19:17:43 +01:00 |
|
Ruakij
|
271554719e
|
Remove wrong hint
|
2021-11-26 19:17:24 +01:00 |
|
Ruakij
|
e18de63d7c
|
Revert "Move catch into then-onRejected to fix resolving then anyways."
This reverts commit 2356040572.
|
2021-11-26 19:14:01 +01:00 |
|
Ruakij
|
2356040572
|
Move catch into then-onRejected to fix resolving then anyways.
|
2021-11-26 19:07:27 +01:00 |
|
Ruakij
|
b0bbf0c71a
|
Fixed wrong option-subname
|
2021-11-26 19:06:55 +01:00 |
|
Ruakij
|
37b78e7373
|
Fixed wrong logging-mode used
|
2021-11-26 18:54:09 +01:00 |
|
Ruakij
|
c5e1bb4c64
|
Added info-log "ok"
|
2021-11-26 18:37:55 +01:00 |
|
Ruakij
|
3c29ed2000
|
Implemented CheckWriteApi by writing and then deleting a TestPoint
|
2021-11-26 18:37:34 +01:00 |
|
Ruakij
|
ddf39b9433
|
Fixed require
|
2021-11-26 18:36:50 +01:00 |
|
Ruakij
|
3a927688d0
|
Changed fatal to error and added error handling to promise catch in main
|
2021-11-26 18:36:35 +01:00 |
|
Ruakij
|
c51cfc1b14
|
Fixed missing require
|
2021-11-26 18:35:51 +01:00 |
|
Ruakij
|
e1b2a7e016
|
Added influx checkBucket
|
2021-11-26 18:03:14 +01:00 |
|
Ruakij
|
fc5900b0ba
|
Added influx checkHealth
|
2021-11-26 17:55:51 +01:00 |
|
Ruakij
|
354ca32a61
|
Merge branch 'dev' into f_influx-checks
|
2021-11-26 17:47:59 +01:00 |
|
Ruakij
|
d10e9bb2c6
|
Create influx-client
|
2021-11-26 17:43:42 +01:00 |
|
Ruakij
|
44cd3288cf
|
Fixed stram not being in object-mode
|
2021-11-26 17:33:19 +01:00 |
|
Ruakij
|
3af4bb7cc6
|
Fixed wrong push
|
2021-11-26 17:33:07 +01:00 |
|
Ruakij
|
2a662e0bd1
|
Changed constructor to take influxDb
|
2021-11-26 17:32:31 +01:00 |
|
Ruakij
|
d7a9530b68
|
Cleaned up Promise
|
2021-11-26 17:31:31 +01:00 |
|
Ruakij
|
7de2250983
|
Added client-apis
|
2021-11-26 17:30:46 +01:00 |
|
Ruakij
|
bb3d843895
|
Fixed wrong joining
|
2021-11-25 18:42:45 +01:00 |
|
Ruakij
|
9472ed9198
|
Fix wrong usage of join()
Default splitter is ',' but we want nothing
|
2021-11-25 18:42:26 +01:00 |
|
Ruakij
|
dcd0ce8111
|
Added lib string-argv to extract bin and args from cmd
|
2021-11-25 18:32:43 +01:00 |
|
Ruakij
|
1a9ced0bb8
|
Changed exec to only wrap spawn
|
2021-11-25 18:32:07 +01:00 |
|
Ruakij
|
d77e3f8844
|
Fixed naming
|
2021-11-25 18:30:50 +01:00 |
|
Ruakij
|
e715cc1cac
|
Removed unused env-vars for now
|
2021-11-25 13:59:45 +01:00 |
|
Ruakij
|
cf1b300f6a
|
Changed documentation to remarks section
|
2021-11-25 03:14:24 +01:00 |
|
Ruakij
|
450f162cda
|
Implemented InfluxPointWriter for writing into influx with stream
|
2021-11-25 03:13:05 +01:00 |
|
Ruakij
|
7ebcf573b9
|
Implemented stream to transform packets to datapoints
|
2021-11-25 02:54:43 +01:00 |
|
Ruakij
|
38985ea9e2
|
Remove debug-logging for now
|
2021-11-25 01:48:41 +01:00 |
|
Ruakij
|
1976838d8a
|
Remove unecessary properties
|
2021-11-25 01:48:07 +01:00 |
|
Ruakij
|
a1ce7a848b
|
Replaced MoreData and isRetry with flags
|
2021-11-25 01:37:35 +01:00 |
|
Ruakij
|
21e4ff1a66
|
Removing frameCheckSequence from packets
|
2021-11-25 01:10:49 +01:00 |
|
Ruakij
|
25297ed4d9
|
Fixed data-regex
|
2021-11-25 01:10:34 +01:00 |
|
Ruakij
|
68541b1191
|
Added check for NoData-Packet
|
2021-11-25 01:09:25 +01:00 |
|