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
9.88k stars 585 forks source link

flamegraph display #2936

Open ColdV opened 8 months ago

ColdV commented 8 months ago

when i slelect one process, but the flamegraph still displaying other process. what should i do? POPO-screenshot-20240117-230418

korniltsev commented 8 months ago

share your configuration

it is probably because you are using "targets_only=false", if that is the case you should migrate to discovery.process and targets_only=true

ColdV commented 8 months ago

share your configuration

it is probably because you are using "targets_only=false", if that is the case you should migrate to discovery.process and targets_only=true

i’m try, but it didn't solve the problem. this is my grafana-agent-flow config: POPO-screenshot-20240117-232448 and i not found doc about discovery.process, please send me? and i have another question, when i only start pyroscope service by default config(no start grafana-agent-flow). i can still see the pyroscope data on flamegraph. that is default display? how shoule i close it? POPO-screenshot-20240117-233002

cyriltovena commented 8 months ago

Yeah right now this only affect the Graph part of the panel. You need to use the query field {service_name="test"} and submit a new query.