Jonathan Strong
102f6ac7e8
changes default InfluxWriter buffer to 4096 (anal retentive)
6 years ago
Jonathan Strong
37d8e7ad59
AsI64 for i16, i8, u8
6 years ago
Jonathan Strong
33519ceece
pub fn nanos_utc(t: i64) -> DateTime<Utc>
6 years ago
Jonathan Strong
0a10d55142
whitespace removal
7 years ago
Jonathan Strong
01eb000131
moves `Default` `InfluxWriter` log path to /tmp
7 years ago
Jonathan Strong
2b303be4ec
swaps in the dirs crate home_dir() instead of deprecated std fn
7 years ago
Jonathan Strong
0928bd4f74
adds HistLog::with_path constructor
7 years ago
Jonathan Strong
00d0e1a427
makes zmq optional dep
7 years ago
Jonathan Strong
f59c627187
check if floats are finite, replacing NaNs with 0.0 to avoid influx server errors
7 years ago
Jonathan Strong
e47c0952fb
check if there are no fields (only tags), in which case add an integer field "n" with value 1
7 years ago
Jonathan Strong
a51a7042d8
upgrade money to v0.3
7 years ago
Jonathan Strong
95912bc3ae
change email
7 years ago
Jonathan Strong
d1849fad78
changes InfluxWriter to buffer size of 4096, or if 2 seconds since last send
7 years ago
Jonathan Strong
a1922b387e
adds InfluxWriter::secs(&self, Duration) -> f64
7 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
7 years ago
Jonathan Strong
1903aad06a
adds uuid nightly, const_fn features
7 years ago
Jonathan Strong
3ecc2b74f9
impl AsI64 for u16
7 years ago
Jonathan Strong
ee8c8ebae6
makes hist::C type alias pub
7 years ago
Jonathan Strong
b9b1306da1
some nanos-related things
7 years ago
Jonathan Strong
7f4f18459a
version bump to v0.4.3
7 years ago
Jonathan Strong
39cfe57b6d
replace `as i64` and `as f64` conversions with `AsI64` and `AsF64` traits to limit types permitted
7 years ago
Jonathan Strong
2930c261c0
misc
7 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.
7 years ago
Jonathan Strong
1cfad254e0
sets huge channel buffer for async logger when trace is enabled
7 years ago
Jonathan Strong
9b4c03cd38
upgrades uuid from v0.5 -> v0.6
7 years ago
Jonathan Strong
dafab36104
adds some inline annotations
7 years ago
Jonathan Strong
e11ea9ed6a
adds short_uuid fn to root
7 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.
7 years ago
Jonathan Strong
3991b335d6
upgrades windows crate to v0.2
7 years ago
Jonathan Strong
a2a4de3c0f
adds InfluxWriter::dur_nanos_u64
7 years ago
Jonathan Strong
99047401e6
adds dur_nanos method to InfluxWriter
7 years ago
Jonathan Strong
228ddff33a
adds with_logger constructor for InfluxWriter
7 years ago
Jonathan Strong
f5a1d54040
changes channel size to 20k
7 years ago
Jonathan Strong
a87cb002ac
replaces Vec with SmallVec for backing storage of `OwnedMeasurement`
7 years ago
Jonathan Strong
1a21ef0ed8
random warning silencing
7 years ago
Jonathan Strong
6541d5ffb9
puts warnings mod behind a feature gate
7 years ago
Jonathan Strong
e8f83b88d2
removes trace logging in InfluxWriter
7 years ago
Jonathan Strong
752f6374bd
disable-short-uuid feat
7 years ago
Jonathan Strong
f293aa2860
adds InfluxWriter::nanos(&self) -> i64 convenience fn
7 years ago
Jonathan Strong
6b6fe6c67c
influx host
7 years ago
Jonathan Strong
4c59e4616d
adds HistLog::new_with_tag
7 years ago
Jonathan Strong
a2828ffd4f
adds plain-ole Clone for HistLog
7 years ago
Jonathan Strong
9932cec369
misc
7 years ago
Jonathan Strong
92dd50c2a4
misc
7 years ago
Jonathan Strong
29491e3606
adds scholes feature etc
7 years ago
Jonathan Strong
7b8f8c0918
InfluxWriter loop now blocks on recv, among other incremental improvements
7 years ago
Jonathan Strong
6ba090e828
adds an n-thread test + comparisons between sleep and yield_now
7 years ago
Jonathan Strong
bb95b9a3ff
switches consts based on cfg features
7 years ago
Jonathan Strong
1af3cf85da
sets HistLog event loop to block on recv()
7 years ago
Jonathan Strong
1a93b7b76a
removes sleep from HistLog Drop
7 years ago