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.98k stars 598 forks source link

[pyro UI] Tags don't work as expected #3307

Open ralucacocioban opened 4 months ago

ralucacocioban commented 4 months ago

Describe the bug

Tags don't show up consistenty in 'Select Tag' pyro UI dropdown.

More on behaviour:

To Reproduce

To repro, we need to publish 3 different tags dummyApp.live{myTag=1}, dummyApp.live{myTag=2}, dummyApp.live{myTag=3} with /injest API:

printf "foo;bar 100\n foo;baz 200" | curl \ -X POST \ --data-binary @- \ 'http://localhost:4040/ingest?name=dummyApp.live%7BmyTag=1%7D&from=1715831660&until=1715831668'

printf "fff;bbb 100\n moo;boz 50" | curl \ -X POST \ --data-binary @- \ 'http://localhost:4040/ingest?name=dummyApp.live%7BmyTag=2%7D&from=1715831669&until=1715831675'

printf "oo;bar 600\n foo;baz 500" | curl \ -X POST \ --data-binary @- \ 'http://localhost:4040/ingest?name=dummyApp.live%7BmyTag=3%7D&from=1715831674&until=1715831688'

Might need to adjust from and until to see it in the UI.

Leave it to run for at least 20 mins and then refresh the pyro UI. Try many refreshes to see the behaviour of the tags.

Also, we didn't experience this issue in pyroscope < 1.0