File tree Expand file tree Collapse file tree 2 files changed +12
-4
lines changed Expand file tree Collapse file tree 2 files changed +12
-4
lines changed Original file line number Diff line number Diff line change @@ -12,7 +12,14 @@ docker compose up
1212```
1313
14142 . Log in to IfluxDB. Default credential are ` admin ` :` admin ` . Save token that will be shown to you after login.
15- 3 . Create a bucket inside InfluxDB named ` psqlpy-stress-bucket ` .
15+ 3 . Create InfluxDB abstractions
16+
17+ - Create an InfluxDB organization named ` influx_db_organization ` .
18+ - Create a bucket inside InfluxDB named ` psqlpy-stress-bucket ` .
19+
20+ > You can create bucket and organization with different names.
21+ > But do not forget to replace those values within ` psqlpy_stress.settings ` file.
22+
16234 . Connect InfluxDB to grafana.
1724 host: ` http://influxdb:8086 `
1825 database: ` psqlpy-stress-bucket `
@@ -39,10 +46,11 @@ docker compose up
3946 alembic upgrade head
4047 ```
4148
42- 8 . Launch application via
49+ 8 . Past in your InfluxDB token into ` psqlpy_stress.settings ` file.
50+ 9 . Launch application via
4351
4452``` bash
4553python -m psqlpy_stress.app
4654```
4755
48- 9 . You can start load testing drivers.
56+ 10 . You can start load testing drivers.
Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ class Settings(BaseSettings):
1616 app_port : int = 8080
1717
1818 influx_db_address : str = "http://127.0.0.1:8086"
19- influx_db_token : str = "J9A2-ZrrxJLA6pmOmCvJlqc913BbXFbJJA-HmG7cUm8epwHe32Yv-V_MtE2xTZT9j_hIy064ZwF6cZ30Hm2mQw=="
19+ influx_db_token : str = # past in your InfluxDB token here
2020 influx_db_organization : str = "psqlpy-stress-test"
2121 influx_db_bucket : str = "psqlpy-stress-bucket"
2222 influx_db_measurment : str = "stress-test-timings"
You can’t perform that action at this time.
0 commit comments