Jonathan Strong
|
94f1e93026
|
get rid of everything else except the influx mod, and rename the crate influx-writer
|
4 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
|
7d2fce56a4
|
add test to verify Utc -> nanos is lossless
|
5 years ago |
Jonathan Strong
|
dbd72c21fa
|
upgrade sloggers to v0.3 and use new log rotation/compression features
|
5 years ago |
Jonathan Strong
|
4830a27c3b
|
revamped InfluxWriter passed its tests with flying colors
this thing is a fucking rock now
|
5 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
|
5 years ago |
Jonathan Strong
|
aa5cdf2b3b
|
adds pub fn secs(Duration) -> f64 at crate root and InfluxWriter::secs(&self, Duration) -> f64
|
5 years ago |
Jonathan Strong
|
77a1fd79d4
|
hide latency mod behind feature gate
|
5 years ago |
Jonathan Strong
|
33519ceece
|
pub fn nanos_utc(t: i64) -> DateTime<Utc>
|
5 years ago |
Jonathan Strong
|
2b303be4ec
|
swaps in the dirs crate home_dir() instead of deprecated std fn
|
5 years ago |
Jonathan Strong
|
00d0e1a427
|
makes zmq optional dep
|
5 years ago |
Jonathan Strong
|
b9b1306da1
|
some nanos-related things
|
6 years ago |
Jonathan Strong
|
2930c261c0
|
misc
|
6 years ago |
Jonathan Strong
|
1cfad254e0
|
sets huge channel buffer for async logger when trace is enabled
|
6 years ago |
Jonathan Strong
|
e11ea9ed6a
|
adds short_uuid fn to root
|
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
|
f5a1d54040
|
changes channel size to 20k
|
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
|
9932cec369
|
misc
|
6 years ago |
Jonathan Strong
|
92dd50c2a4
|
misc
|
6 years ago |
Jonathan Strong
|
7b8f8c0918
|
InfluxWriter loop now blocks on recv, among other incremental improvements
|
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
|
4635decd57
|
adds hist mod with hdrsample interface/thread
|
6 years ago |
Jonathan Strong
|
453776b273
|
re-exports sloggers::Severity for convenience
|
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
|
6 years ago |
Jonathan Strong
|
fa0d5b68fb
|
sets file_logger to return a noop logger if cfg(test)
|
6 years ago |
Jonathan Strong
|
929fdb2183
|
minor tweaks
|
6 years ago |
Jonathan Strong
|
c84e7b46a6
|
adds d128, Uuid variants to OwnedValue + assorted improvements
|
6 years ago |
Jonathan Strong
|
31959480be
|
remove shuteye dep
|
6 years ago |
Jonathan Strong
|
e07a0f3e48
|
converts to pubsub and some cleaning up
|
6 years ago |
Jonathan Strong
|
10657da9ba
|
disabled chashmap dependency if I want it later
|
6 years ago |
Jonathan Strong
|
b74ab109b1
|
nanosleep for no-thrash
|
6 years ago |
Jonathan Strong
|
caa4c6215c
|
for some reason logging is the hardest shit in the world
|
6 years ago |
Jonathan Strong
|
1b5050d127
|
changes severity to info for file loggers
|
6 years ago |
Jonathan Strong
|
b3d364caeb
|
bunch of changes to allow mm/tali simultaneously
|
6 years ago |
Jonathan Strong
|
b27ad08c10
|
file loggers for latency / warnings to inspect wtf is going on there
|
6 years ago |
Jonathan Strong
|
ab4788bf71
|
changes influx host, adds ticker, side to KrknTrade meas
|
6 years ago |
Jonathan Strong
|
7688ab20b4
|
adapts Warning to slog crate
|
6 years ago |
Jonathan Strong
|
794f93cfe8
|
comments out empty tests
|
6 years ago |
Jonathan Strong
|
4ce59763df
|
initial commit
|
6 years ago |