Hey folks,
There's now an exporter available for those of you using
phusion passenger for your webapps:
Check out the README for usage.
Notes:
- The internal state made available by passenger is not exported to prometheus in its entirety. If exporting additional fields would be of interest to you, go ahead and open an issue or pull request. The full list of available fields can be seen in `testdata/passenger_xml_output.xml` in the repo, and how it maps to the various structs in `structs.go`.
- A TTL can be set on processes spawned by passenger. To prevent the exporter from creating too many time series, but also being able to identify individual processes, upon creation processes are assigned a position with a fixed ID in a map. As processes are killed and respawned, they are slotted back into the same place in this map, maintaining their ID.
Stuart