-
-
Notifications
You must be signed in to change notification settings - Fork 109
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
newlines in processes name (cmdline) aren't escaped #175
Comments
uggla
added a commit
to uggla/scaphandre
that referenced
this issue
Jul 17, 2022
- Remove carriage return in process cmdline.
@uggla did you open a PR on this ? I see the commit but I cannot find the related PR, did I miss something ? |
@bpetit yes I wrote a PR to fix this bug. I'm looking for it. |
#195 this is the PR fixing the issue. |
Thanks a lot ! I lost it for a moment. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Bug description
Newlines in process' cmdline aren't escaped and break Prometheus output format.
To Reproduce
Expected behavior
newlines should be either escaped or replaced by spaces like in
ps
.Environment
Thanks!
The text was updated successfully, but these errors were encountered: