Skip to content

OpenStack Swift exporter for the prometheus monitoring system

License

Notifications You must be signed in to change notification settings

G81192/prometheus-swift-exporter

 
 

Repository files navigation

Prometheus OpenStack exporter

Exposes high level OpenStack metrics to Prometheus.

Deployment

Requirements

Install prometheus_client:

pip install prometheus_client

Installation

# Copy example config in place, edit to your needs
sudo cp prometheus-swift-exporter.yaml /etc/prometheus/

## Systemd
# Install job
sudo cp prometheus-swift-exporter.service /etc/systemd/system/


# create default config location
sudo sh -c 'echo "CONFIG_FILE=/etc/prometheus-swift-exporter/prometheus-swift-exporter.yaml">/etc/default/prometheus-swift-exporter'


# Start
sudo start prometheus-swift-exporter

Or to run interactively:

./prometheus-swift-exporter prometheus-swift-exporter.yaml

Configuration

Configuration options are documented in prometheus-swift-exporter.yaml shipped with this project

FAQ

Why hardcode swift host list?

Same as above, there is no way to retrieve swift hosts using API.

About

OpenStack Swift exporter for the prometheus monitoring system

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 96.3%
  • Shell 3.7%