Skip to content

Report system limits (atom, port, process limits)#79

Merged
josevalim merged 1 commit intobeam-telemetry:mainfrom
studzien:report-system-counts-limits
Jun 26, 2025
Merged

Report system limits (atom, port, process limits)#79
josevalim merged 1 commit intobeam-telemetry:mainfrom
studzien:report-system-counts-limits

Conversation

@studzien
Copy link
Contributor

It's useful to report the atom, port, and process limits in addition to the current counts so that alerts can be set when we're close to reaching the limit.

This PR enhances the VM measurements by adding vm.system_limits, which has the same measurements as vm.system_counts but with the current limit values rather than the current counts.

I'm happy to remove it from the default measurements, if it'd be better to opt in for them.

@josevalim
Copy link
Contributor

I am not sure we should have a separate measurement for something constant. Perhaps we can include the limits as metadata for the counts?

@arkgil
Copy link
Contributor

arkgil commented Jun 25, 2025

We could emit the limits as additional measurements in the existing system_counts event.

@studzien studzien force-pushed the report-system-counts-limits branch from 609a424 to 0ec48c1 Compare June 26, 2025 12:00
@studzien
Copy link
Contributor Author

That's fair.
I have just moved it to additional measurements for the existing event.

@josevalim josevalim merged commit 411675d into beam-telemetry:main Jun 26, 2025
4 checks passed
@josevalim
Copy link
Contributor

💚 💙 💜 💛 ❤️

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

3 participants