Commit Graph

130 Commits

Author SHA1 Message Date
Lou Knauer
85591e7a03 Switch to influxes line protocol parser 2021-10-07 14:52:45 +02:00
Lou Knauer
3b2ec98ba0 Update README.md, document API endpoints
Fixes #2
2021-09-20 11:25:25 +02:00
Lou Knauer
2046415f9c Change out-of-bounds behaviour 2021-09-20 10:29:55 +02:00
Lou Knauer
27a5c0b561 Use JWT authentication for the API
This commit takes care of the API part of issue #6.
2021-09-20 09:27:31 +02:00
Lou Knauer
22de7da5e4 ZIP checkpoints and move to archive 2021-09-13 13:40:39 +02:00
Lou Knauer
372d07b454 Rename archive to checkpoints; new config 2021-09-13 12:28:33 +02:00
Lou Knauer
4d17abdbc8 Support more than one line per message 2021-09-13 12:26:55 +02:00
Lou Knauer
53d5734fd5 New peek query (newest values) 2021-09-13 12:25:56 +02:00
Lou Knauer
53339eb8eb Update README.md 2021-09-08 12:26:22 +02:00
Lou Knauer
b55a67f869 New selector type for better selection of sockets/cpus 2021-09-08 12:17:10 +02:00
Lou Knauer
a269ab423b Lazy-init children; Use slice for metric buffers 2021-09-08 10:29:36 +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
930974a8df Make stats behave like read 2021-09-07 09:24:50 +02:00
Lou Knauer
dc92d17675 Add free function; Optimize read with aggregation 2021-09-07 09:21:08 +02:00
Lou Knauer
cbe5a0714c Basic stats support 2021-09-01 08:48:35 +02:00
Lou Knauer
61bc7df93a Use RWLock instead of classical Mutex 2021-09-01 08:47:57 +02:00
Lou Knauer
63e45960e1 Update README.md 2021-08-31 15:18:06 +02:00
Lou Knauer
4c51f5c613 Fix metric-store.go and apo.go, new config file format 2021-08-31 15:17:36 +02:00
Lou Knauer
10f0da6000 New unfinished MemoryStore implementation 2021-08-31 10:52:22 +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
Lou Knauer
a125bd5bfd Add API endpoints, update README.md 2021-08-24 10:41:30 +02:00
Lou Knauer
18e0155c95 Add functions to MetricStore for future queries 2021-08-24 10:40:26 +02:00
Lou Knauer
8d827e44b4 Use type with custom MarshalJSON for metrics 2021-08-24 10:39:16 +02:00
Lou Knauer
f7310bc70a Very basic initial API endpoint 2021-08-20 12:54:11 +02:00
Lou Knauer
fb433cc497 Use nats in main 2021-08-20 11:45:34 +02:00
Lou Knauer
13c206b11e Implement nats receiver for metric data 2021-08-20 10:43:57 +02:00
Lou Knauer
ee47364474 Implement lineprotocol parser 2021-08-20 09:39:05 +02:00
Jan Eitzinger
a85b210096 Initial checkin 2021-06-09 06:03:31 +02:00
Jan Eitzinger
a59049d24e
Initial commit 2021-06-08 18:15:24 +02:00