Skip to content

Add opt-in go.memory.gc.cycles counter metric#3628

Open
dashpole wants to merge 1 commit intoopen-telemetry:mainfrom
dashpole:split-go-memory-gc-cycles
Open

Add opt-in go.memory.gc.cycles counter metric#3628
dashpole wants to merge 1 commit intoopen-telemetry:mainfrom
dashpole:split-go-memory-gc-cycles

Conversation

@dashpole
Copy link
Copy Markdown
Contributor

@dashpole dashpole commented Apr 15, 2026

Part of #3353

Changes

Add an opt-in go.memory.gc.cycles counter metric. This can be useful to see if the garbage collector is running more frequently than it should. I've kept it opt-in, since it wasn't part of the list of basic metrics recommended by the go team.

Merge requirement checklist

Gemini helped me split this from #3620

@open-telemetry/go-approvers @jmacd

@github-actions github-actions bot added enhancement New feature or request area:go labels Apr 15, 2026
@dashpole dashpole changed the title Add opt-in go.memory.gc.cycles metric Add opt-in go.memory.gc.cycles counter metric Apr 15, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:go enhancement New feature or request

Projects

Development

Successfully merging this pull request may close these issues.

3 participants