Skip to content

Instantly share code, notes, and snippets.

@kovid-r
Last active August 12, 2021 04:06
Show Gist options
  • Save kovid-r/4999cde900cc570601ccdb4fb5401998 to your computer and use it in GitHub Desktop.
Save kovid-r/4999cde900cc570601ccdb4fb5401998 to your computer and use it in GitHub Desktop.
Generate 1 day worth of DevOps data using TSBS for QuestDB and TimescaleDB
# Go to the script library
cd ~/tmp/go/bin/
# Run the following command to generate data for QuestDB
./tsbs_generate_data \
--use-case="devops" --seed=123 --scale=200 \
--timestamp-start="2016-01-01T00:00:00Z" \
--timestamp-end="2016-01-02T00:00:00Z" \
--log-interval="10s" --format="influx" > /tmp/questdb-data
# Run the following command to generate data for TimescaleDB
./tsbs_generate_data \
--use-case="devops" --seed=123 --scale=200 \
--timestamp-start="2016-01-01T00:00:00Z" \
--timestamp-end="2016-01-02T00:00:00Z" \
--log-interval="10s" --format="timescaledb" > /tmp/timescaledb-data
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment