grafana / pyroscope

Continuous Profiling Platform. Debug performance issues down to a single line of code
https://grafana.com/oss/pyroscope/
GNU Affero General Public License v3.0
10.13k stars 614 forks source link

profilecli query local or remote blocks #3559

Closed aleks-p closed 1 week ago

aleks-p commented 2 months ago

The profilecli query commands issue a query towards a Pyrosope server (a query frontend).

It would be nice to have a similar command that works on one or more local or remote (object storage) blocks. This would help in cases where we observe issues in the read path that are related to the data and we can't easily reproduce them.

Example usage

profilecli query block series --local-path <path-to-a-local-dir-containing-blocks> profilecli query block merge --local-path <path-to-a-local-dir-containing-blocks> profilecli query block series --bucket-name dev-us-central-0-profiles-dev-001-data --block-ids <one-or-more-block-ids> profilecli query block merge --bucket-name dev-us-central-0-profiles-dev-001-data --block-ids <one-or-more-block-ids>