Skip to content

Conversation

@edgurgel
Copy link
Member

@edgurgel edgurgel commented Jun 3, 2025

What kind of change does this PR introduce?

Fix ErlSysMon initialization.

Our application supervision tree adds ErlSysMon like this:

[
  ErlSysMon,
  ...
]

This translates to {ErlSysMon, []} so ErlSysMon.start_link([]) was being called effectively making system_monitor not track anything.

I also tested locally calling :erlang.system_monitor() which just returns the current configuration. Previously it was returning :undefined because nothing was set.

What is the current behavior?

No erlang system monitor messages

What is the new behavior?

System monitor messages are being logged

Additional context

iex_-S_mix

@vercel
Copy link

vercel bot commented Jun 3, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

1 Skipped Deployment
Name Status Preview Comments Updated (UTC)
realtime-demo ⬜️ Ignored (Inspect) Visit Preview Jun 3, 2025 2:21am

Our application supervision tree adds ErlSysMon like this:

[
  ErlSysMon,
  ...
]

This translates to {ErlSysMon, []} so ErlSysMon.start_link([]) was being
called effectively making system_monitor not track anything
@edgurgel edgurgel merged commit 0900955 into main Jun 3, 2025
5 checks passed
@edgurgel edgurgel deleted the fix/erl-sys-mon branch June 3, 2025 03:22
@kiwicopple
Copy link
Member

🎉 This PR is included in version 2.36.8 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

@coveralls
Copy link

coveralls commented Jun 3, 2025

Coverage Status

coverage: 83.287% (+0.5%) from 82.808%
when pulling 5def0c7 on fix/erl-sys-mon
into e3f8a77 on main.

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

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants