gluster-metrics-exporter
Version, currently 0.5.216 versions
- 0.5.2latestJun 7, 2025
- 0.5.1not indexedJun 7, 2025
- 0.5.0not indexedJun 7, 2025
- 0.4.3not indexedJun 7, 2025
- 0.4.2not indexedJun 7, 2025
- 0.4.1not indexedJun 7, 2025
- 0.4.0not indexedJun 7, 2025
- 0.3.1not indexedJun 7, 2025
- 0.3.0not indexedJun 7, 2025
- 0.2.3not indexedJun 7, 2025
- 0.2.2not indexedJun 7, 2025
- 0.2.1not indexedJun 7, 2025
- 0.2.1-alpha0not indexedJun 7, 2025
- 0.2.0not indexedJun 7, 2025
- 0.1.1not indexedJun 7, 2025
- 0.1.0not indexedJun 7, 2025
github.com/kadalu/gluster-metrics-exporter
Simple efficient Prometheus exporter for Gluster Metrics.
36 stars
0 dependents
License: GPLv3
Installation
# Add this to your shard.yml
dependencies:
gluster-metrics-exporter:
github: kadalu/gluster-metrics-exporter
version: ~> 0.5.2Then run:
shards installshard.yml
- Crystal
- no constraint declared
- License
- GPLv3
- Author
- Kadalu.io <engineering@kadalu.io>
- Target
gluster-metrics-exporterfrom src/gluster-metrics-exporter.cr
Dependencies
Runtime Dependencies
- kemal*github: kemalcr/kemal
- crometheus*github: darwinnn/crometheus, branch: master
- glustercli*github: aravindavk/glustercli-crystal
README
# Gluster Metrics Exporter
## Install
Download the latest release with the command
```
$ curl -fsSL https://github.com/kadalu/gluster-metrics-exporter/releases/latest/download/install.sh | sudo bash -x
```
Test to ensure the version you installed is up-to-date
```
$ gluster-metrics-exporter --version
```
## Usage:
Start the Gluster Metrics exporter service in all the Storage nodes
```
# systemctl enable gluster-metrics-exporter
# systemctl start gluster-metrics-exporter
```
Above command picks up the Gluster hostname by running the `hostname` command. If the local Gluster hostname is different than create a hostname file in `/var/lib/glusterd`.
```
# echo "server1.example.com" > /var/lib/glusterd/hostname
```
To fetch the Prometheus compatible Metrics, call the API from any one Storage node.
```
$ curl http://server1.example.com:9713/metrics
```
To get the same metrics in JSON format
```
$ curl http://server1.example.com:9713/metrics.json
```
## Manually run the exporter (Without systemd)
```
# gluster-metrics-exporter
```
Available options
```
Usage: gluster-metrics-exporter [OPTIONS]
--metrics-path=URL Metrics Path (default: /metrics)
--host-binding Exporter bind address (default: 0.0.0.0)
-p PORT, --port=PORT Exporter Port (default: 9713)
--cluster=NAME Cluster identifier
--gluster-host=NAME Gluster Host to replace `localhost` from the peer command output (default: hostname)
-v, --verbose Enable verbose output (default: false)
--disable-all Disable all Metrics (default: false)
--disable-volumes-all Disable all Volumes (default: false)
--enable=NAMES Enable specific Metric Groups
--disable=NAMES Disable specific Metric Groups (default: [])
--enable-volumes=NAMES Enable specific Volumes
--disable-volumes=NAMES Disable specific Volumes (default: [])
--log-level=LEVEL Log Level (default: info)
--log-dir=DIR Log directory (default: /var/log/gluster-metrics)
--log-file=NAME Log file (default: exporter.log)
--glusterd-dir=DIR Glusterd directory (default: /var/lib/glusterd)
--gluster-cli-path=PATH Gluster CLI Path (default: /usr/sbin/gluster)
--gluster-cli-sock=SOCK Gluster CLI socket file (default: )
--version Show version information
--config=FILE Config file
-h, --help Show this help
```
Documentation
Built from the current release. The first visit to a release nobody has asked for starts its build.
Links
This release
- Version
0.5.2- Tagged
- Jun 7, 2025
- Commit
60d1b0206974- Indexed
- yes
Dependents
No indexed shard depends on this one yet.
Repository
github.com/kadalu/gluster-metrics-exporter
Metadata
- Created
- Aug 12, 2026
- Updated
- Aug 12, 2026
- Synced
- Aug 12, 2026
- Versions
- 16