Jonathan Strong
9178b7a13b
validate memory scaling, add logging
- adds example to repeatedly send many measurements to InfluxWriter for purposes of stress testing (i.e. shut influxdb off, see if InfluxWriter recovers correctly)
- InfluxWriter now tracks allocated buffer memory and logs it
- lower INITIAL_BACKLOG
4 years ago
Jonathan Strong
3e476ce20e
allow writer thread to scale up from INITIAL_BACKLOG to MAX_BACKLOG and then back down
4 years ago
Jonathan Strong
29dc9b8010
fix misc other broken things
4 years ago
Jonathan Strong
94f1e93026
get rid of everything else except the influx mod, and rename the crate influx-writer
4 years ago
Jonathan Strong
0cbef79bd2
upgrade uuid to v0.8
4 years ago
Jonathan Strong
b6fc9a97e6
significant cleanup
4 years ago
Jonathan Strong
8a4c6a3a38
use local logging crate
4 years ago
Jonathan Strong
86542209b1
min changes to allow string tags in feature gate
5 years ago
Jonathan Strong
63c9314b5b
add one million writes bench
5 years ago
Jonathan Strong
7a0684371f
adds `pub fn rotating_file_logger<P>(path: P, level: Severity, compress: bool) -> slog::Logger`
allows optional compression on rotated logfiles
5 years ago
Jonathan Strong
dbd72c21fa
upgrade sloggers to v0.3 and use new log rotation/compression features
6 years ago
Jonathan Strong
4830a27c3b
revamped InfluxWriter passed its tests with flying colors
this thing is a fucking rock now
6 years ago
Jonathan Strong
11b214da7a
feat(InfluxWriter): huge refactor so InfluxWriter queues a backlog on failed db requests
will need extensive testing before prod use
6 years ago
Jonathan Strong
c333c8da39
bump ver to v0.4.7
6 years ago
Jonathan Strong
c1b2575916
bump ver to v0.4.6
6 years ago
Jonathan Strong
77a1fd79d4
hide latency mod behind feature gate
6 years ago
Jonathan Strong
2b303be4ec
swaps in the dirs crate home_dir() instead of deprecated std fn
6 years ago
Jonathan Strong
00d0e1a427
makes zmq optional dep
6 years ago
Jonathan Strong
a51a7042d8
upgrade money to v0.3
6 years ago
Jonathan Strong
95912bc3ae
change email
6 years ago
Jonathan Strong
d1849fad78
changes InfluxWriter to buffer size of 4096, or if 2 seconds since last send
6 years ago
Jonathan Strong
d39902c494
adds v, utc shortcut syntax to measure!
- `v`: adds a tag "version" based on the expression, e.g. `v(VERSION)`
-> `t("version", VERSION)`
- `utc`: like `tm`, but converts a `DateTime<Utc>` to `i64`
automatically
6 years ago
Jonathan Strong
1903aad06a
adds uuid nightly, const_fn features
6 years ago
Jonathan Strong
7f4f18459a
version bump to v0.4.3
6 years ago
Jonathan Strong
1f0ca41176
puts inline annotations behind a feature flag
this was to test cost in terms of compilation speed. doesn't seem like a
big deal but leaving it in case it is later.
6 years ago
Jonathan Strong
9b4c03cd38
upgrades uuid from v0.5 -> v0.6
6 years ago
Jonathan Strong
0713744d12
middle of the night debugging
I copied several Window structs from windows crate to avoid a cyclic
dependency. The rationale was, latency mod is on its way out anyway.
6 years ago
Jonathan Strong
3991b335d6
upgrades windows crate to v0.2
6 years ago
Jonathan Strong
a87cb002ac
replaces Vec with SmallVec for backing storage of `OwnedMeasurement`
6 years ago
Jonathan Strong
6541d5ffb9
puts warnings mod behind a feature gate
6 years ago
Jonathan Strong
752f6374bd
disable-short-uuid feat
6 years ago
Jonathan Strong
92dd50c2a4
misc
6 years ago
Jonathan Strong
29491e3606
adds scholes feature etc
6 years ago
Jonathan Strong
7b8f8c0918
InfluxWriter loop now blocks on recv, among other incremental improvements
6 years ago
Jonathan Strong
bb95b9a3ff
switches consts based on cfg features
6 years ago
Jonathan Strong
e9e6e01ebe
InfluxWriter refactor (mostly)
6 years ago
Jonathan Strong
4a6498a6f1
adds async_file_logger fn
6 years ago
Jonathan Strong
2ba2921053
version bump -> v0.4.0
6 years ago
Jonathan Strong
4635decd57
adds hist mod with hdrsample interface/thread
6 years ago
Jonathan Strong
2ce2d88d61
updates order map to v0.3
6 years ago
Jonathan Strong
9a8e62754d
massive cleanup
- kills MeasurementWindow/WTen
- all warnings silenced
- cruft removed
6 years ago
Jonathan Strong
5b716e411b
adds test feature
7 years ago
Jonathan Strong
c625ce1c3e
version bump -> v0.2.3
7 years ago
Jonathan Strong
37c80f322d
upgrades money dep to v0.2
7 years ago
Jonathan Strong
71dee1f783
adds a shortcut version of each "function" when column name = variable name!
7 years ago
Jonathan Strong
c84e7b46a6
adds d128, Uuid variants to OwnedValue + assorted improvements
7 years ago
Jonathan Strong
818b7a7784
starting v0.2 branch
7 years ago
Jonathan Strong
31959480be
remove shuteye dep
7 years ago
Jonathan Strong
bed29f40d0
adds trace feature (nothing behind it atm)
7 years ago
Jonathan Strong
e07a0f3e48
converts to pubsub and some cleaning up
7 years ago