nginx-prometheus alternatives and similar packages
Based on the "Server Applications" category.
Alternatively, view nginx-prometheus alternatives based on common mentions on social networks and blogs.
-
Ponzu
CMS with automatic JSON API for "thick client" front-ends. Featuring auto HTTPS, HTTP/2 Server Push, and flexible CMS written in Go. -
Jocko
Kafka implemented in Golang with built-in coordination (No ZK dep, single binary install, Cloud Native) -
Key Transparency
A transparent and secure way to look up public keys. -
Rendora
dynamic server-side rendering using headless Chrome to effortlessly solve the SEO problem for modern javascript websites -
Golang API Starter Kit
Go Server/API boilerplate using best practices DDD CQRS ES gRPC -
goproxy
🦁 goproxy is a proxy server which can forward http or https requests to remote servers./ goproxy 是一个反向代理服务器,支持转发 http/https 请求。 -
marathon-consul
Integrates Marathon apps with Consul service discovery. -
Eru
Eru, a simple, stateless, flexible, production-ready orchestrator designed to easily integrate into existing workflows. Can run any virtualization things in long or short time. -
Simple CRUD App w/ Gorilla/Mux, MariaDB
Simple CRUD Application with Go, Mux, MariaDB. -
psql-streamer
Stream database events from PostgreSQL to Kafka. -
go-feature-flag
A feature flag solution, with only a YAML file in the backend (S3, GitHub, HTTP, local file ...), no server to install, just add a file in a central system and refer to it. -
simple-jwt-provider
Simple and lightweight provider which exhibits JWTs, supports login, password-reset (via mail) and user management. -
cortex-tenant
Prometheus remote write proxy that adds add Cortex tenant ID header based on metric labels. -
go-proxy-cache
Simple Reverse Proxy with Caching, written in Go, using Redis. -
riemann-relay
Relay to load-balance Riemann events and/or convert them to Carbon.
Get performance insights in less than 4 minutes
Do you think we are missing an alternative of nginx-prometheus or a related project?
README
Nginx log parser and Prometheus exporter
This service parses incoming syslog messages from Nginx sent over UDP and converts them into Prometheus metrics exported through the built-in HTTP server.
- If the prefix-list is specified then per-URI statistics are generated. Using this feature without URI-prefix list is dangerous because it leads to an unbounded memory usage. It's therefore enabled only with a limited prefix list.
The URI prefix list is a plain-text file with a single prefix per line, e.g.
/api/call1.json
/api/call2.json
/api/call3.json
URIs received from nginx are stripped of any query parameters - only the part before '?' is used.
- It optionally supports country lookup for client IPs using MaxMind GeoIP database.
Nginx configuration snippet
log_format collector '$remote_addr|$scheme|$host|$request_method|$server_protocol|$request_uri|$status|$request_time|$request_length|$bytes_sent';
access_log syslog:server=1.1.1.1:1514,tag=nginx collector;
Getting it
Get RPM & DEB directly from releases, only linux-amd64 build currently available.
Build youself:
go get github.com/blind-oracle/nginx-prometheus
cd $GOPATH/src/github.com/blind-oracle/nginx-prometheus
go build
Usage example
If you're using RPM/DEB packages then options are set in /etc/default/nginx-prometheus
./nginx-prometheus \
-debug false \
-listenSyslog 0.0.0.0:1514 \
-listenHTTP 0.0.0.0:1514 \
-geoipCountryDB /etc/nginx-prometheus/country.mmdb \
-uriPrefixFile /etc/nginx-prometheus/uriPrefixes.txt
- debug - prints every syslog message received if true (defaults to false)
- listenSyslog - ip:port on which to listen for UDP Syslog messages (defaults to 0.0.0.0:1514)
- listenHTTP - ip:port on which to listen for incoming HTTP requests from Prometheus (defaults to 0.0.0.0:11080)
- geoipCountryDB - path to MaxMind country GeoIP database (optional)
- uriPrefixFile - path to a URI prefix list (optional)
Grafana dashboard
Add Prometheus source to Grafana and import grafana-dashboard.json for most common graphs.