Skip to content
This repository has been archived by the owner on Jul 9, 2024. It is now read-only.

Commit

Permalink
add metrics used in promethues
Browse files Browse the repository at this point in the history
  • Loading branch information
haoyuan committed Mar 15, 2017
1 parent 0e16052 commit 25223ee
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,24 @@ with `gluster volume info` this is obsolete
| volStatus.volumes.volume[].node[].sizeTotal | Gauge | hostname, path, volume | implemented |


### Metrics in prometheus
| Name | Descritpion |
| ------------ | -------- |
| up | Was the last query of Gluster successful. |
| volumes_count | How many volumes were up at the last query. |
| volume_status | Status code of requested volume. |
| node_size_free_bytes | Free bytes reported for each node on each instance. Labels are to distinguish origins |
| node_size_total_bytes | Total bytes reported for each node on each instance. Labels are to distinguish origins |
| brick_count | Number of bricks at last query. |
| brick_duration | Time running volume brick. |
| brick_data_read | Total amount of data read by brick. |
| brick_data_written | Total amount of data written by brick. |
| brick_fop_hits | Total amount of file operation hits. |
| brick_fop_latency_avg | Average fileoperations latency over total uptime |
| brick_fop_latency_min | Minimum fileoperations latency over total uptime |
| brick_fop_latency_max | Maximum fileoperations latency over total uptime |
| peers_connected | Is peer connected to gluster cluster. |

## Troubleshooting
If the following message appears while trying to get some information out of your gluster. Increase scrape interval in `prometheus.yml` to at least 30s.

Expand Down

0 comments on commit 25223ee

Please # to comment.