Jonathan Strong
e6f35d6a61
benchmarks for how long influx.send(..) takes in different situations
3 years ago
Jonathan Strong
f74d75e609
add publish and several other commands
3 years ago
Jonathan Strong
f5fa0d7a41
upgrade crossbeam-channel, signal-hook
3 years ago
Jonathan Strong
be8e95559a
upgrade uuid to v0.8
3 years ago
Jonathan Strong
741504f47b
re-upgrade uuid to v0.7
3 years ago
Jonathan Strong
b63db4b86e
downgrade uuid to v0.6, which is compatible with diesel v1, so we can publish a version with it
3 years ago
Jonathan Strong
96a8d44b97
silence compiler warning
3 years ago
Jonathan Strong
8e61a3993a
add package info
3 years ago
Jonathan Strong
e4e57a9fa3
switch github deps to mmcxi registry
3 years ago
Jonathan Strong
c47903d464
add a drop deadline to exit routine
3 years ago
Jonathan Strong
3c9988dd42
upgrade decimal crate to v2.4, add more robust handling for int conversion errors in AsI64 impls
4 years ago
Jonathan Strong
f266d6ddae
upgrade decimal crate from v2.3 to v2.4
4 years ago
Jonathan Strong
e380a77113
skip serializing NaN f64/d128 values, rather than previous strategy of supplying -999.0 signal value
I find excluding -999.0 values annoying in practice.
4 years ago
Jonathan Strong
5830d1d13c
in measure, allow `Option<d128>` fields with "D" prefix
example:
```
let a: Option<d128> = Some(d128::from_str("123.456").unwrap());
let b: Option<d128> = None;
measure!(influx, meas, D(a), D(b));
```
in the `None` case, no field is added at all.
4 years ago
Jonathan Strong
a68306df1f
prefix various log messages with "InfluxWriter: "
4 years ago
Jonathan Strong
50c7892809
reduce frequency of status update log message from 60s to 300s
4 years ago
Jonathan Strong
0a805ab609
reverse InfluxWriter::with_logger deprecation in face of overwhelming popular demand
4 years ago
Jonathan Strong
6bfabcb6ce
bump version to v0.9.1
4 years ago
Jonathan Strong
58bc3b9a39
remove obe 'mm' prefix to InfluxWriter thread name
4 years ago
Jonathan Strong
e8872c9004
reduce sleep duration when closing thread from 1s -> 10ms
4 years ago
Jonathan Strong
f944dba825
add authenticated writes functionality
4 years ago
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
102312efb6
minor fix in measure!
4 years ago
Jonathan Strong
b6fc9a97e6
significant cleanup
4 years ago
Jonathan Strong
1da2c1ab09
fix minor blemishes
4 years ago
Jonathan Strong
8a4c6a3a38
use local logging crate
4 years ago
Jonathan Strong
903b4c4005
small settings tweaks
5 years ago
Jonathan Strong
87302bd2fa
change sleep 100ms -> 1ms
5 years ago
Jonathan Strong
a7ffcba0e5
adds InfluxWriter::is_full
5 years ago
Jonathan Strong
86542209b1
min changes to allow string tags in feature gate
5 years ago
Jonathan Strong
4d8f155648
Merge branch 'v0.5.x' of git.mmcxi.com:mm/logging into v0.5.x
5 years ago
Jonathan Strong
c4959c6e06
tone it down a notch
5 years ago
Jonathan Strong
7a75c7b494
ignore measure bench for tests
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
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
6 years ago
Jonathan Strong
4a28334f4a
log(InfluxWriter): add msg when recovers from request failure
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
d1b895468c
beffudling fixes from cargo fix --edition
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
045302465b
InfluxWriter::placeholder() -> no thread for tests, etc
6 years ago
Jonathan Strong
c333c8da39
bump ver to v0.4.7
6 years ago
Jonathan Strong
13dd21f730
change nan replacement value from 0.0 to -999.0 so it's obvious
6 years ago
Jonathan Strong
ac6076e45a
add host, db accessors
6 years ago
Jonathan Strong
25f6d4c206
add logging/anal retentiveness to kill routine
6 years ago