Prometheus exporter for Phusion Passenger metrics.
500K+
Passenger exporter is a Prometheus metrics exporter for Phusion Passenger 6.0.
Start Passenger with a known instance registry:
$ PASSENGER_INSTANCE_REGISTRY_DIR=/tmp/passenger passenger start
Run the exporter, specifying the same instance registry:
$ PASSENGER_INSTANCE_REGISTRY_DIR=/tmp/passenger ./bin/passenger-exporter
Note: You must specify the PASSENGER_INSTANCE_REGISTRY_DIR environment variable. It is used by the passenger-status command to query Passenger information. Without it, the exporter cannot retreve metrics from your Passenger instance.
The following flags are available:
| Flag | Description | Default Value |
|---|---|---|
-passenger.command string | Passenger command for querying passenger status. | "passenger-status --show=xml" |
-passenger.command.timeout-seconds float | Timeout for passenger.command. | 5 |
-web.listen-address string | Address to listen on for web interface and telemetry. | ":9149" |
-web.telemetry-path string | Path under which to expose metrics. | "/metrics" |
promu build tool.make dependencies (they'll be placed in ./vendor).make build../bin/passenger-exporter -h.golangci-lint, see instructions here.make lint and test using make test.The scrape output can be regenerated by passing the --golden flag to go test.
We would like to acknowledge and express our gratitude to @stuartnelson3 for their work on the upstream version of Passenger Exporter.
Content type
Image
Digest
sha256:420be8e74…
Size
67.2 MB
Last updated
over 3 years ago
docker pull zappi/passenger-exporter