Skip to content

fix(chart): pick up the profiler image whose heap profiles have samples - #623

Merged
mayankpande88 merged 3 commits into
mainfrom
chore/bump-profiler-image-gcfix
Sep 19, 2026
Merged

mayankpande88 merged 3 commits into
mainfrom
chore/bump-profiler-image-gcfix

Conversation

@mayankpande88

@mayankpande88 mayankpande88 commented Sep 19, 2026 •

Copy link
Copy Markdown
Contributor

Summary

ca8a3b3 asks Go for /debug/pprof/heap?seconds=30. On the heap endpoint that returns the delta over the window, not a snapshot — so a service whose heap is steady profiles to exactly nothing:

Type: inuse_space
Duration: 30.02s, Total samples = 0
Showing nodes accounting for 0, 0% of 0 total

2ca753a is the first tag carrying nudgebee/application-profiler#130, which takes the snapshot (?gc=1) instead.

Type of change

  • Bug fix (non-breaking)

Chart version

Test plan

  • helm lint charts/nudgebee-agent passes
  • helm template renders PROFILER_IMAGE as ghcr.io/nudgebee/application-profiler-{}:2ca753a

The published tag was checked rather than assumed — the fixed URL is compiled into the shipped binary:

$ crane export ghcr.io/nudgebee/application-profiler-bpf:2ca753a - | tar -xO app/agent | strings | grep debug/pprof/heap
http://127.0.0.1:%s/debug/pprof/heap?gc=1

(Go profiles run in the bpf image variant.)

How to verify after rollout

Profile a Go pod with Memory from the pod-details screen. The flamegraph shows real frames instead of Total samples = 0.

@mayankpande88
mayankpande88 requested a review from a team as a code owner September 19, 2026 04:46

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request updates the nudgebee-agent Helm chart version and appVersion to 0.1.27, and updates the profilerImage tag in values.yaml to 2ca753a. There are no review comments, and I have no feedback to provide.

@github-actions

Copy link
Copy Markdown
Contributor

📦 Image Tags Updated

I've automatically updated the image tags in `charts/nudgebee-agent/values.yaml` to the latest versions from GHCR for the `main` branch.

The image tags are now synchronized with the latest builds and ready for release.

ca8a3b3 asks Go for /debug/pprof/heap?seconds=30, which returns the delta
over that window rather than a snapshot - so every heap profile of a
service with a steady heap came back with Total samples = 0 and rendered
as an empty flamegraph. 2ca753a is the first tag with
nudgebee/application-profiler#130, which takes the snapshot instead.

No version bump: 0.1.25 is the latest release and 0.1.26 is still
unreleased, so this correction belongs in 0.1.26 rather than burning
another number for a chart nobody has installed yet.
@mayankpande88
mayankpande88 force-pushed the chore/bump-profiler-image-gcfix branch from f1b3484 to aa2fdd2 Compare September 19, 2026 04:51
@github-actions

Copy link
Copy Markdown
Contributor

📦 Image Tags Updated

I've automatically updated the image tags in `charts/nudgebee-agent/values.yaml` to the latest versions from GHCR for the `main` branch.

The image tags are now synchronized with the latest builds and ready for release.

1 similar comment
@github-actions

Copy link
Copy Markdown
Contributor

📦 Image Tags Updated

I've automatically updated the image tags in `charts/nudgebee-agent/values.yaml` to the latest versions from GHCR for the `main` branch.

The image tags are now synchronized with the latest builds and ready for release.

@mayankpande88
mayankpande88 merged commit 350f73c into main Sep 19, 2026
6 checks passed
@mayankpande88
mayankpande88 deleted the chore/bump-profiler-image-gcfix branch September 19, 2026 05:19
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.

2 participants