usage: profilecli [] [ ...] Tooling for Grafana Pyroscope, the continuous profiling aggregation system. Flags: -h, --help Show context-sensitive help (also try --help-long and --help-man). --version Show application version. -v, --verbose Enable verbose logging. Commands: help [...] Show help. admin blocks list [] List blocks. admin blocks compact [] Compact blocks. admin blocks query series [] Request series labels on local/remote blocks. admin blocks query profile [] Request merged profile on local/remote block. admin parquet inspect ... Inspect a parquet file's structure. admin tsdb series ... dump series in an TSDB index file. admin bucket web [] Run the web tool for visualizing blocks in object-store buckets. admin bucket list-v2-blocks [] List Pyroscope v2 segments and blocks in object-store buckets. admin bucket inspect-v2-blocks [] ... Inspect Pyroscope v2 segments and blocks in object-store buckets. admin raft info [] Print info about a Raft node. admin v2-migration bucket-cleanup [] Clean up v1 artificats from data bucket. admin kube-proxy [] Start a reverse proxy unifying all the micro services in a single endpoint. query profile [] Request merged profile. query go-pgo [] Request profile for Go PGO. query series [] Request series labels. query label-values-cardinality [] Request label values cardinality. query top [] List top N label values by total value for a time window. query-tracer [] Analyze query traces. upload [] ... Upload profile(s). canary-exporter [] Run the canary exporter. ready [] Check Pyroscope health. source-code coverage --profile=PROFILE [] Measure the coverage of .pyroscope.yaml source code mappings for translating function names/paths from a pprof profile to VCS source files. recording-rules list List recording rules. When accessing a Grafana Cloud datasource, requires a token with the "profiles-config:read" scope. recording-rules get [] Get a specific recording rule. When accessing a Grafana Cloud datasource, requires a token with the "profiles-config:read" scope. recording-rules create --file=FILE Create a recording rule. When accessing a Grafana Cloud datasource, requires a token with the "profiles-config:write" scope. Example: # Create a rule that records the total CPU usage of the garbage collector function for every service in the "emea" region: profilecli recording-rules create -f rule.yaml # rule.yaml: matchers: - '{ __profile_type__="process_cpu:cpu:nanoseconds:cpu:nanoseconds", region="emea"}' metric_name: profiles_recorded_cpu_usage_function_total_gc_nanoseconds group_by: - service_name function_name: runtime.gcBgMarkWorker recording-rules delete Delete a recording rule. When accessing a Grafana Cloud datasource, requires a token with the "profiles-config:write" scope.