Skip to content

Instantly share code, notes, and snippets.

@MaartenSmeets
Created December 9, 2018 10:23
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save MaartenSmeets/05441fc6d34843cdc537de332baa4aff to your computer and use it in GitHub Desktop.
Save MaartenSmeets/05441fc6d34843cdc537de332baa4aff to your computer and use it in GitHub Desktop.
Proces exporter yml file to monitor my Spring Boot processes
process_names:
# comm is the second field of /proc/<pid>/stat minus parens.
# It is the base executable name, truncated at 15 chars.
# It cannot be modified by the program, unlike exe.
- comm:
- java
cmdline:
- app.jar
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment