Commit Graph

13 Commits

Author SHA1 Message Date
Lou Knauer
83d1cb2a98 Add documentation, change config format 2022-02-04 08:46:14 +01:00
Lou Knauer
af38004a76 better JSON encoding (less allocs) 2022-01-24 09:55:33 +01:00
Lou Knauer
4a78a24034 Copy all byte slices from decoder
While trying to optimize things I overread this: "the byte slices returned by the Decoder methods are only valid until the next call to any other Decode method."
2022-01-24 09:50:12 +01:00
Lou Knauer
bf7c33513b reduce allocations and locking 2022-01-21 10:47:40 +01:00
Lou Knauer
15733cb1b7 move decodeLine function 2022-01-20 10:14:28 +01:00
Christoph Kluge
eff61ce93e Use argument instead of default value for nats connection 2021-11-12 13:41:30 +01:00
Lou Knauer
807c613cae Add (untested) HTTP write API 2021-10-11 16:28:05 +02:00
Lou Knauer
85591e7a03 Switch to influxes line protocol parser 2021-10-07 14:52:45 +02:00
Lou Knauer
2046415f9c Change out-of-bounds behaviour 2021-09-20 10:29:55 +02:00
Lou Knauer
4d17abdbc8 Support more than one line per message 2021-09-13 12:26:55 +02:00
Lou Knauer
e4c3bc4db1 Use Golangs contextes 2021-09-08 09:08:51 +02:00
Lou Knauer
c50ab30470 Introduce retention field in config.json 2021-09-07 09:28:41 +02:00
Lou Knauer
a1c41e5f5d Cleanup of project structure
I am sorry in advance for the big commits. Compilation
of the project will fail between commits and the changes
done here should probably have been separated into smaller
commits, but this project is still very fresh so I hope its fine.

Delete fileStore as it never worked anyway.
Remove lineprotocol package as it only made things more complicated
than they need to be.
2021-08-31 10:43:16 +02:00