Skip to content

syepes/sio2prom

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
cfg
 
 
 
 
 
 
src
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

ScaleIO / VxFlex / PowerFlex Prometheus Exporter

rust release

Functionality

Exposes all the selected ScaleIO / VxFlex / PowerFlex statistics to a Prometheus endpoint

Features

Grafana Dashboards examples

Grafana version 8+ required

Global

Cluster

SDS

Storage Pools

Volumes

SDC

Usage (Docker)

# Default settings
docker run -d --name sio2prom -h sio2prom -e IP=1.1.1.1 -e AUTH_USR=mon -e AUTH_PWD=mon -p 8080:8080 syepes/sio2prom

# Custom / local configuration files: $PWD/cfgmetric_definition.json  $PWD/cfg/metric_query_selection.json
docker run -d --name sio2prom -h sio2prom -e IP=1.1.1.1 -e AUTH_USR=mon -e AUTH_PWD=mon -v $PWD/cfg:/app/cfg/ -p 8080:8080 syepes/sio2prom

# Metrics
curl -v -i http://localhost:8080/metrics

Usage (Built from src)

git clone https://github.com/syepes/sio2prom.git && cd sio2prom
cargo build --release (nightly)
target/*/release/sio2prom --help

Exposed labels

System:           {clu_id="", clu_name=""}
Sdr:              {clu_id="", clu_name="", sdr_id="", sdr_name=""}
Sdc:              {clu_id="", clu_name="", sdc_id="", sdc_name=""}
ProtectionDomain: {clu_id="", clu_name="", pdo_id="", pdo_name=""}
Sds:              {clu_id="", clu_name="", pdo_id="", pdo_name="", sds_id="", sds_name=""}
StoragePool:      {clu_id="", clu_name="", pdo_id="", pdo_name="", sto_id="", sto_name=""}
Volume:           {clu_id="", clu_name="", pdo_id="", pdo_name="", sto_id="", sto_name="", vol_id="", vol_name=""}
Device:           {clu_id="", clu_name="", pdo_id="", pdo_name="", sto_id="", sto_name="", sds_id="", sds_name="", dev_id="", dev_name="", dev_path=""}