Skip to content

Conversation

@pvital
Copy link
Member

@pvital pvital commented Jan 8, 2026

This PR reverts the commit d53fdd8, by reapplying the commit 1da36f4.

The original commit adds a cross-platform process announcement to Instana Host Agents.

The implementation gracefully handles platform differences, ensuring consistent process information on both Unix and Windows environments:

  • Created a new _get_cmdline() function to return the command line of the current monitored process independently of the running platform.
  • Created the _get_cmdline_windows() function to return the command line on Windows machines.
  • Created _get_cmdline_unix() that returns the command line in Unix machines. It decides how to collect the information by running either the _get_cmdline_linux_proc() or the _get_cmdline_unix_ps().

@pvital pvital requested a review from a team as a code owner January 8, 2026 22:04
@pvital pvital self-assigned this Jan 8, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants