Skip to content

[BUGFIX] pyroscope: filter profile types by ID instead of name - #977

Open
luweglarz wants to merge 1 commit into
perses:mainfrom
luweglarz:fix/pyroscope-duplicate-profile-type
Open

luweglarz wants to merge 1 commit into
perses:mainfrom
luweglarz:fix/pyroscope-duplicate-profile-type

Conversation

@luweglarz

@luweglarz luweglarz commented Nov 27, 2026 •

Copy link
Copy Markdown
Contributor

Description

ProfileTypes returns every profile type on the server, and the service filter compared only the profile name (name). Names are shared across languages (e.g. Go and Java block/mutex profiles only differ by period type), so other services' types leaked into the dropdown and showed up as duplicates.

Filter on the service's profile_type values (full IDs) instead.

before:
Screenshot from 2026-11-27 15-08-32

after:
Screenshot from 2026-11-27 15-08-18

Checklist

  • Pull request has a descriptive title and context useful to a reviewer.
  • Pull request title follows the [<catalog_entry>] <commit message> naming convention using one of the
    following catalog_entry values: FEATURE, ENHANCEMENT, BUGFIX, BREAKINGCHANGE, DOC,IGNORE.
  • All commits have DCO signoffs.

Signed-off-by: luweglarz <lucas.weglarz@amadeus.com>
@luweglarz
luweglarz requested a review from a team as a code owner November 27, 2026 14:21
@luweglarz
luweglarz requested review from shahrokni and removed request for a team November 27, 2026 14:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant