DEV Community

nateHimself
nateHimself

Posted on

Why My Grafana Pyroscope Was Not Woking (must read)

After installing pyroscope for the first time i couldn't find my service name it only shows pyroscope and when i go to my localhost:4040 it looks like an old website compared to the youtube tutorials

Just the past two days i was stuck at Pyroscope trying to figure out how the f*** that thing works

On the tutorials i was seeing a different UI than i was seeing

And when i try the code given by the go(push) mode docs i noticed i was missing something small but caused my problems

defer profiler.Stop() this was the code that i didn't write that caused nothing else

If you scroll down a little it was written in the documentation but it was confusing as it seems like optional insertion for a beginner to the ecosystem

The Other thing i was struggling was service name i couldn't get my pyroscope service name

I was thinking is grafana essential to be installed in order to use pyroscope (but it was not essential) or should I install grafana alloy trust me add this only and make a lasting funciton with while loop and you will get it

If you have any problem contact me at
https://www.reddit.com/user/HovercraftUnusual405/?utm_source=share&utm_medium=web3x&utm_name=web3xcss&utm_term=1&utm_content=share_button

Top comments (0)