Public | Automated Build

Last pushed: 10 months ago
Short Description exporter that scrapes Ceph RADOSGW usage information.
Full Description

Ceph RADOSGW Usage Exporter

Prometheus exporter that scrapes Ceph RADOSGW usage information. This information is gathered from a RADOSGW using the Admin Operations API.

This exporter was based off from both ( and the more elaborate Jenkins exporter here (


  • Working Ceph Cluster with Object Gateways setup.
  • Ceph RADOSGWs must beconfigured to gather usage information as this is not on by default. The miniumum is to enable it via ceph.conf as below. There are however other options that are available and should be considered here

    rgw enable usage log = true
  • This exporter requires a user that has a capability of usage=read see the Admin Guide here for more details.

Local Installation

git clone
cd radosgw_usage_exporter
pip install requirements.txt


./ -r <RADOSGW HOST> -a <ACCESS_KEY> -s <SECRET_KEY> -p 9242

Docker Usage

Docker build: (

docker run -d -p 9242 blemmenes/radosgw_usage_exporter:latest \

Arguments can also be specified by environment variables as well.

docker run -d -p 9242:9242 \
-e "RADOSGW_SERVER=<host>" \
-e "VIRTUAL_PORT=9242" \
-e "ACCESS_KEY=<access_key>" \
-e "SECRET_KEY=<secret_key>" \

Resulting metrics can be then retrieved via your Prometheus server via the http://<exporter host>:9242/metrics endpoint.

Docker Pull Command