grafana / grafana/pyroscope

Simplify the profilecli query merge command

Open
#2,670 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Go
Stars
11.7k
Forks
802
Avg merge
1d 19h
Merged PRs (30d)
80

Description

_Originally posted by @cyriltovena in https://github.com/grafana/pyroscope/pull/2654#discussion_r1391120449_

Add flags (like `-mem` or `-cpu`) to simplify the usage of the `profilecli query merge` command.

We should also most likely show using go how to open and read those merged profiles. I suspect most people don't know how to use pprof.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start at the profilecli query merge command and inspect how query flags are currently passed. Define and document simplified flags such as -mem and -cpu, then verify that merged profiles can be opened and read with Go and that the command usage explains the workflow.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
cli, observability
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.