implement buildbot profiler #140

Closed
opened 2024-10-14 06:36:16 +00:00 by jade · 4 comments
jade commented 2024-10-14 06:36:16 +00:00 (Migrated from git.lix.systems)

We have a few egregious API endpoints in https://buildbot.lix.systems and they really need to be fixed. This can be achieved by installing buildbot_profiler: https://pypi.org/project/buildbot-profiler/

I would just like, do it, but currently the buildbot is running some kinda local state from @raito's PC which i would explode if i touched the box.

We have a few egregious API endpoints in https://buildbot.lix.systems and they really need to be fixed. This can be achieved by installing buildbot_profiler: https://pypi.org/project/buildbot-profiler/ I would just like, do it, but currently the buildbot is running some kinda local state from @raito's PC which i would explode if i touched the box.
jade commented 2024-10-18 23:46:09 +00:00 (Migrated from git.lix.systems)

Warning: this needs validation before it is deployed, since the buildbot-profiler repo has not been touched in several years and may well have issues with some buildbot APIs!

Warning: this needs validation before it is deployed, since the buildbot-profiler repo has not been touched in several years and may well have issues with some buildbot APIs!
raito commented 2024-10-19 17:22:27 +00:00 (Migrated from git.lix.systems)

Pyroscoping Buildbot requires:

  • packaging pyroscope-io
  • a new knob for pyroscope profiling in buildbot-lix
  • adding the alloy configuration à la Gerrit for it on the buildbot bagel module
Pyroscoping Buildbot requires: - [ ] packaging pyroscope-io - [ ] a new knob for pyroscope profiling in buildbot-lix - [ ] adding the alloy configuration à la Gerrit for it on the buildbot bagel module
raito commented 2024-10-19 17:39:22 +00:00 (Migrated from git.lix.systems)

Looking more into pyroscope-io:

depends on (in that tree):

  • pyroscope
  • pyroscope-pyspy
  • ffikit

which needs to be packaged separately.

this is fairly small in terms of dependencies, just a classically annoying multi-language project to package.

Looking more into pyroscope-io: - this is the python module: https://github.com/grafana/pyroscope-rs/tree/main/pyroscope_ffi/python#readme -- cffi + rust - this is the rust component: https://github.com/grafana/pyroscope-rs/blob/main/pyroscope_ffi/python/lib/Cargo.toml depends on (in that tree): - pyroscope - pyroscope-pyspy - ffikit which needs to be packaged separately. this is fairly small in terms of dependencies, just a classically annoying multi-language project to package.
raito commented 2025-02-23 15:33:16 +00:00 (Migrated from git.lix.systems)

As we are in the process of enabling Buildkite, closing those.

As we are in the process of enabling Buildkite, closing those.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: afnix/infra#140
No description provided.