github.com/pyroscope-io/pyroscope@v0.37.3-0.20230725203016-5f6947968bd0/pkg/testing/load/cmd/dataloader/README.md (about) 1 # Data loader 2 3 The tool populates a database with sample data. 4 5 Generate sample data with dataloader: 6 ``` 7 go run ./pkg/testing/load/cmd/dataloader -path config.yml 8 ``` 9 10 See example `config.yml` in `dataloader` directory for details. The loader writes data directly to the storage, the path should be specified in the configuration file: 11 ```yaml 12 storage: 13 path: test_storage 14 ``` 15 16 Start server with `-storge-path` option (if `pyroscope server` is run in a container, you can map the volume): 17 ``` 18 pyroscope server -storage-path test_storage 19 ```