Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
A
apache-exporter
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
silver-platter
apache-exporter
Commits
6b4668d2
Commit
6b4668d2
authored
7 years ago
by
Pedro Gomes
Browse files
Options
Downloads
Patches
Plain Diff
Update readme with list of metrics and badges
parent
8cbd3060
No related branches found
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
README.md
+56
-1
56 additions, 1 deletion
README.md
with
56 additions
and
1 deletion
README.md
+
56
−
1
View file @
6b4668d2
# Apache Exporter for Prometheus
# Apache Exporter for Prometheus [![Build Status][buildstatus]][circleci]
[

][quay]
[

][hub]
Exports apache mod_status statistics via HTTP for Prometheus consumption.
Exports apache mod_status statistics via HTTP for Prometheus consumption.
...
@@ -39,3 +42,55 @@ docker build -t apache_exporter .
...
@@ -39,3 +42,55 @@ docker build -t apache_exporter .
docker run -d -p 9117:9117 apache_exporter \
docker run -d -p 9117:9117 apache_exporter \
-scrape_uri "https://your.server.com/server-status/?auto"
-scrape_uri "https://your.server.com/server-status/?auto"
```
```
## Collectors
The exporter collects a number of statistics from the server:
```
# HELP apache_accesses_total Current total apache accesses
# TYPE apache_accesses_total counter
# HELP apache_scoreboard Apache scoreboard statuses
# TYPE apache_scoreboard gauge
# HELP apache_sent_kilobytes_total Current total kbytes sent
# TYPE apache_sent_kilobytes_total counter
# HELP apache_up Could the apache server be reached
# TYPE apache_up gauge
# HELP apache_uptime_seconds_total Current uptime in seconds
# TYPE apache_uptime_seconds_total counter
# HELP apache_workers Apache worker statuses
# TYPE apache_workers gauge
```
Request metrics:
```
# HELP http_request_duration_microseconds The HTTP request latencies in microseconds.
# TYPE http_request_duration_microseconds summary
# HELP http_request_size_bytes The HTTP request sizes in bytes.
# TYPE http_request_size_bytes summary
# HELP http_response_size_bytes The HTTP response sizes in bytes.
# TYPE http_response_size_bytes summary
```
Process metrics:
```
# HELP process_cpu_seconds_total Total user and system CPU time spent in seconds.
# TYPE process_cpu_seconds_total counter
# HELP process_max_fds Maximum number of open file descriptors.
# TYPE process_max_fds gauge
# HELP process_open_fds Number of open file descriptors.
# TYPE process_open_fds gauge
# HELP process_resident_memory_bytes Resident memory size in bytes.
# TYPE process_resident_memory_bytes gauge
# HELP process_start_time_seconds Start time of the process since unix epoch in seconds.
# TYPE process_start_time_seconds gauge
# HELP process_virtual_memory_bytes Virtual memory size in bytes.
# TYPE process_virtual_memory_bytes gauge
```
[
buildstatus
]:
https://circleci.com/gh/prometheus/memcached_exporter/tree/master.svg?style=shield
[
quay
]:
https://quay.io/repository/Lusitaniae/apache-exporter
[
circleci
]:
https://circleci.com/gh/Lusitaniae/apache_exporter
[
hub
]:
https://hub.docker.com/r/lusotycoon/apache-exporter/
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment