viktord / passenger_exporter Goto Github PK
View Code? Open in Web Editor NEWThis project forked from stuartnelson3/passenger_exporter
prometheus passenger exporter for nginx integration
License: MIT License
This project forked from stuartnelson3/passenger_exporter
prometheus passenger exporter for nginx integration
License: MIT License
************************ passenger_exporter_nginx ------------------------ This is a Prometheus exporter for passenger with nginx integration. https://www.phusionpassenger.com/ ********************* Building the Exporter --------------------- The default Makefile target creates a statically linked binary for Linux. A Dockerfile and Makefile target are also supplied: make build-docker ******************** Running the Exporter -------------------- Usage of passenger_exporter_nginx: -log.format value If set use a syslog logger or JSON logging. Example: logger:syslog?appname=bob&local=7 or logger:stdout?json=true. Defaults to stderr. -log.level value Only log messages with the given severity or above. Valid levels: [debug, info, warn, error, fatal]. (default info) -passenger.command string Passenger command for querying passenger status. (default "passenger-status --show=xml") -passenger.pid-file string Optional path to a file containing the passenger/nginx PID for additional metrics. -passenger.command.timeout duration Timeout for passenger.command. (default 500ms) -web.listen-address string Address to listen on for web interface and telemetry. (default ":9149") -web.telemetry-path string Path under which to expose metrics. (default "/metrics") To run the Docker image: docker run -p 9106:9106 -v $PATH_TO_PASSENGER_STATUS:/bin \ passenger_exporter_nginx:latest /passenger_exporter_nginx Notes for running the Docker container: - You must mount the passenger-status binary within the container to have access. - You must expose the -web.listen-address port on the container to be scraped. ********** Collectors ---------- An example of the metrics exported can be seen in testdata/scrape_output.txt ************* Running Tests ------------- Tests can be run with: go test . Additionally, the testdata/scrape_output.txt can be regenerated by passing the --golden flag: go test -v . --golden
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.