Sign inSign up

aoliynyk/apache-exporter

By aoliynyk

•Updated almost 8 years ago

Docker build for Keleir/httpd_exporter

Image
0

10K+

aoliynyk/apache-exporter repository overview

⁠Apache Exporter for Prometheus

image

This is a simple server that periodically scrapes apache stats and exports them via HTTP for Prometheus consumption.

⁠Requirement

⁠Usage

$ ./apache_exporter -h

Usage of ./apache_exporter:
  -insecure
    	Ignore server certificate if using https (default true)
  -log.level value
    	Only log messages with the given severity or above.
	Valid levels: [debug, info, warn, error, fatal, panic].
  -scrape_uri string
    	URI to apache server status page. (default "http://localhost/server-status")
  -telemetry.address string
    	Address on which to expose metrics. (default ":9113")
  -telemetry.endpoint string
    	Path under which to expose metrics. (default "/metrics")

e.g:

$ ./apache_exporter -scrape_uri http://localhost/server-status/ -telemetry.address :9113

⁠Metrics

MetricTypeDescriptions
apache_cpu_loadgaugeCPU Load in %
apache_cpu_usage_systemgaugeCPU Usage (System)
apache_cpu_usage_usergaugeCPU Usage (User)
apache_data_per_requestgaugeData per request
apache_data_per_secondgaugeData per second
apache_idle_workersgaugeIdle Workers
apache_busy_workersgaugeBusy Workers
apache_number_of_requests_from_clientgaugeNumber of requests from client
apache_request_currently_being_processedgaugeRequest Currently Being Processed
apache_requests_per_secondgaugeRequests per second
apache_total_accessesgaugeTotal Accesses
apache_total_requestsgaugeTotal no of Requests
apache_total_trafficgaugeTotal Traffic
apache_uptime_daysgaugeApache server uptime in days
apache_uptime_hoursgaugeApache server uptime hour, but uptime days should be countable
apache_uptime_minutesgaugeApache server uptime minutes, but uptime days should be countable
apache_uptime_secondsgaugeApache server uptime seconds, but uptime days should be countable
apache_versiongaugeApache version
apache_virtual_hostsgaugeNumber of virtual hosts
apache_total_kbytesgaugeApache data traffic in KB
apache_server_uptimegaugeApache httpd server uptime
apache_connection_kbytesgaugeKilobytes transferred of this connection
apache_request_timegaugeMilliseconds required to process most recent request
apache_total_processesgaugeApache httpd process number

⁠apache-exporter

Tag summary

Content type

Image

Digest

Size

4.1 MB

Last updated

almost 8 years ago

docker pull aoliynyk/apache-exporter