influxdb/iox_data_generator
Marco Neumann 808a13cf40
chore: remove `time` 0.1 & fix RUSTSEC-2020-0071 (#7568)
`time` 0.1 suffers from [RUSTSEC-2020-0071] and many upstream crates
have tried to remove it for years. The last dependency is

1. `chrono-english`
2. `chrono` (default features)
3. `chrono` (oldtime)
4. `time` 0.1

`chrono-english` doesn't seem to be super well maintained, but I
couldn't find a nice replacement for it. Luckily the master branch of
`chrono-english` is already fixed, so let's just directly use that.

[RUSTSEC-2020-0071]: https://rustsec.org/advisories/RUSTSEC-2020-0071

Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2023-04-17 12:36:10 +00:00
..
benches feat: make data generator handle failed requests (#6397) 2022-12-13 21:35:23 +00:00
schemas feat: add data generator schema to simulate eu load (#6429) 2022-12-17 17:32:46 +00:00
src chore: Upgrade to Rust 1.68 (#7175) 2023-03-12 13:22:20 +00:00
Cargo.toml chore: remove `time` 0.1 & fix RUSTSEC-2020-0071 (#7568) 2023-04-17 12:36:10 +00:00
README.md fix: Remove outdated documentation that discusses Kafka 2023-04-14 13:08:21 -04:00

README.md

iox_data_generator

The iox_data_generator tool creates random data points according to a specification and loads them into an iox instance to simulate real data.

To build and run, first install Rust. Then from root of the influxdb_iox repo run:

cargo build --release

And the built binary has command line help:

./target/release/iox_data_generator --help

For examples of specifications see the schemas folder. The full_example is the most comprehensive with comments and example output.